1Changes for 0.86 2================ 3 4.. code-block:: text 5 6 Matplotlib data is installed into the matplotlib module. 7 This is similar to package_data. This should get rid of 8 having to check for many possibilities in _get_data_path(). 9 The MATPLOTLIBDATA env key is still checked first to allow 10 for flexibility. 11 12 1) Separated the color table data from cm.py out into 13 a new file, _cm.py, to make it easier to find the actual 14 code in cm.py and to add new colormaps. Everything 15 from _cm.py is imported by cm.py, so the split should be 16 transparent. 17 2) Enabled automatic generation of a colormap from 18 a list of colors in contour; see modified 19 examples/contour_demo.py. 20 3) Support for imshow of a masked array, with the 21 ability to specify colors (or no color at all) for 22 masked regions, and for regions that are above or 23 below the normally mapped region. See 24 examples/image_masked.py. 25 4) In support of the above, added two new classes, 26 ListedColormap, and no_norm, to colors.py, and modified 27 the Colormap class to include common functionality. Added 28 a clip kwarg to the normalize class. 29