Unidata / MetPy

MetPy is a collection of tools in Python for reading, visualizing and performing calculations with weather data.
https://unidata.github.io/MetPy/
BSD 3-Clause "New" or "Revised" License
1.26k stars 415 forks source link

Improve colormaps #400

Closed dopplershift closed 7 years ago

dopplershift commented 7 years ago

The satellite colormaps we pulled from GEMPAK have a bunch of black in them, making them hard to use, especially now with the GOES16 brightness temperature data we have ready access to. Would be good to:

The idea has also been floated to have the registry fallback to matplotlib's list, but I'm not sure about that.

dopplershift commented 7 years ago

Another option would be to add these to matplotlib's internal list of colormaps so that things like:

plt.imshow(..., cmap='WVCIMSS')

would work.

jrleeman commented 7 years ago

Are we happy to close this with #526 or was it left open for some reason?

dopplershift commented 7 years ago

There's still the question of registering our colormaps with matplotlib.

jrleeman commented 7 years ago

I'm not super in favor of that as it's modifying stock matplotlib based on if we're imported or not. Given that we avoid that elsewhere and don't want users to expect those colormaps to be always available - it seems good to steer clear. I'm not going to fight for it, but that's my $0.02

dopplershift commented 7 years ago

I suppose you're right.