matplotlib / cmocean

Colormap setup for standardizing commonly-plotting oceanographic variables.
MIT License
230 stars 52 forks source link

cmocean makes unwanted font changes #45

Closed mdunphy closed 8 years ago

mdunphy commented 8 years ago

The current version of cmocean makes unwanted changes to font sizes/styles. As the purpose of the package is to provide nice color maps, using "import cmocean" to import the color maps should not have any side effects.

It looks like the problem is the mpl.rcParams[...] lines at the top of cmocean/plots.py. Is it possible to reorganise that code such that it does not make any font changes under normal use?

kthyng commented 8 years ago

Fixed with @ocehugo's #46/#47