|
2 | 2 | ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
3 | 3 |
|
4 | 4 | Colormaps are now available through the `.Coloarmap.Registry` accessible via
|
5 |
| -``matplotlib.colormaps`` or ``plt.colormaps``. |
| 5 | +`matplotlib.colormaps` or `matplotlib.pyplot.colormaps`. |
6 | 6 |
|
7 |
| -If you have the name of a colormap as asting, you can use direct lookup |
8 |
| -``matplotlib.colormaps[name]``. Alternatively, `matplotlib.colormaps.get_cmap` will |
| 7 | +If you have the name of a colormap as astring, you can useadirect lookup, |
| 8 | +``matplotlib.colormaps[name]``. Alternatively, ``matplotlib.colormaps.get_cmap`` will |
9 | 9 | maintain the existing behavior of additionally passing through `.Colormap` instances
|
10 |
| -and converting ``None`` to the default colormap. `plt.get_cmap` will stay as a |
11 |
| -shortcut to `matplotlib.colormaps.get_cmap`. |
| 10 | +and converting ``None`` to the default colormap. `matplotlib.pyplot.get_cmap` will stay as a |
| 11 | +shortcut to ``matplotlib.colormaps.get_cmap``. |