Closed bastorer closed 6 years ago
This commit checks if matplotlib is available and, if it is, registers the colour maps.
Each map is available via 'cmocean_', so that 'thermal' would be accessed, for example, by plt.pcolormesh(x, y, z, cmap = 'cmocean_thermal').
Alpha channels were also explicitly added and set to 1 (for the matplotlib-registered maps only)
This merge will resolve issue #61
This looks great! I made a few changes:
Thanks so much for your contribution!
This commit checks if matplotlib is available and, if it is, registers the colour maps.
Each map is available via 'cmocean_', so that 'thermal' would be accessed, for example, by
plt.pcolormesh(x, y, z, cmap = 'cmocean_thermal').
Alpha channels were also explicitly added and set to 1 (for the matplotlib-registered maps only)
This merge will resolve issue #61