Answers for "matplotlib style use"

1

matplotlib available styles

We can see all the available styles by accessing the style.available attribute.

#style.use('default') between each change — 
#some of the styles can interfere with one another.
style.use('default')

style.available

['Solarize_Light2',
 '_classic_test_patch',
 'bmh',
 'classic',
 'dark_background',
 'fast',
 'fivethirtyeight',
 'ggplot',
 'grayscale',
 'seaborn',
 'seaborn-bright',
 'seaborn-colorblind',
 'seaborn-dark',
 'seaborn-dark-palette',
 'seaborn-darkgrid',
 'seaborn-deep',
 'seaborn-muted',
 'seaborn-notebook',
 'seaborn-paper',
 'seaborn-pastel',
 'seaborn-poster',
 'seaborn-talk',
 'seaborn-ticks',
 'seaborn-white',
 'seaborn-whitegrid',
 'tableau-colorblind10']
Posted by: Guest on September-02-2021
0

default style matplotlib python

plt.style.use('default')
Posted by: Guest on June-12-2020

Python Answers by Framework

Browse Popular Code Answers by Language