Customizing plots with style sheets — Matplotlib 1.5.1 documentation
1. 使用和显示其他画布风格
>> import matplotlib.pyplot as plt
>> plt.style.use('ggplot')
>> plt.style.available
[u'dark_background', u'bmh', u'grayscale', u'ggplot', u'fivethirtyeight']
Customizing plots with style sheets — Matplotlib 1.5.1 documentation
>> import matplotlib.pyplot as plt
>> plt.style.use('ggplot')
>> plt.style.available
[u'dark_background', u'bmh', u'grayscale', u'ggplot', u'fivethirtyeight']