What is the default style name for matplotlib 2.0.0?
The default style matplotlib 2.0
differs in different ways from all previous versions.
I know I can switch to the classic style with mpl.style.use('classic')
, but how do I switch back to the new style v2.0
? The default new style name is in matplotlib.style.available
?
In the API Documentation :
The style name is
default
reserved to revert to the default style settings.
It is 'default'
not listed in my distribution matplotlib.style.available
, and it is not a key in matplotlib.style.library
.
After applying the style in matplotlib you can revert to the defaults
plt.rcParams.update(plt.rcParamsDefault)
If this happens inside the jupyter notebook, you will also need to remember the backend for example. %matplotlib inline
...