Skip to content
Snippets Groups Projects
  1. Mar 19, 2019
  2. Feb 22, 2019
  3. Feb 15, 2019
  4. Feb 14, 2019
  5. Feb 12, 2019
  6. Feb 08, 2019
  7. Feb 06, 2019
  8. Feb 05, 2019
  9. Feb 04, 2019
  10. Dec 31, 2018
  11. Dec 20, 2018
  12. Dec 14, 2018
  13. Nov 28, 2018
  14. Oct 12, 2018
  15. Sep 26, 2018
  16. Sep 21, 2018
  17. Sep 20, 2018
  18. Aug 14, 2018
  19. Aug 09, 2018
  20. Aug 06, 2018
  21. Aug 03, 2018
  22. May 22, 2018
  23. May 18, 2018
  24. Apr 03, 2018
    • Joseph Weston's avatar
      improve heuristic for setting colormap limits in plotter.map · 82baedca
      Joseph Weston authored
      Previously we used the matplotlib default behavior of setting
      the colormap limits (vmin and vmax) to the limits of the plotted
      data, if they are not provided by the user. Now we set the
      colormap limits to the 2nd and 98th percentile of the input
      data, and stretch the limits by 10% on either end in an attempt
      to include all the data in the limits. If we cannot do so
      we set the limits to the percentiles plus the stretch
      and issue a warning.
      
      Also, whenever the data falls outside the colorbar limits
      (even when the latter are set by the user) we set the appropriate
      ends of the colorbar to be pointy, indicating that the data
      extends beyond the colorbar.
      
      Closes #183
      82baedca
Loading