Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit caedbca

Browse files
committed
Merge pull request #4669 from WeatherGod/classic_mode
ENH: Creation of the 'classic' matplotlib style
2 parents 7c3f08e + 6421160 commit caedbca

File tree

5 files changed

+551
-10
lines changed

5 files changed

+551
-10
lines changed

doc/users/whats_new/styles.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Styles
2+
------
3+
4+
Several new styles have been added, including many styles from the Seaborn project.
5+
Additionally, in order to prep for the upcoming 2.0 style-change release, a 'classic' and 'default' style has been added.
6+
For this release, the 'default' and 'classic' styles are identical.
7+
By using them now in your scripts, you can help ensure a smooth transition during future upgrades of matplotlib, so that you can upgrade to the snazzy new defaults when you are ready! ::
8+
9+
import matplotlib.style
10+
matplotlib.style.use('classic')
11+
12+
The 'default' style will give you matplotlib's latest plotting styles::
13+
14+
matplotlib.style.use('default')
15+

0 commit comments

Comments
 (0)