Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the name of the default style for matplotlib 2.0.0?

The default style of matplotlib 2.0 looks very different from all previous versions.

I know that I can switch to the classic style with mpl.style.use('classic'), but how do I switch back to the new v2.0 style? Is the name of new default style listed in matplotlib.style.available ?

like image 713
VinceP Avatar asked Apr 07 '17 13:04

VinceP


1 Answers

Per the API documentation:

The style name of default is reserved for reverting back to the default style settings.

In my distribution, 'default' is not listed in matplotlib.style.available, nor is it a key in matplotlib.style.library.

like image 170
hlt Avatar answered Sep 27 '22 23:09

hlt