Last active
February 7, 2021 12:05
-
-
Save moyocoyani/0ae1ba1cee7b3cfcc1725ff191d98c2b to your computer and use it in GitHub Desktop.
How to change the default stylesheet in matplotlib
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import matplotlib.pyplot as plt | |
| style_list = ['default', 'classic'] + | |
| sorted(style for style in plt.style.available if style != 'classic') | |
| plt.style.use(style_list[2]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment