matplotlib 可视化 —— 定制画布风格 Customizing plots with style sheets(plt.style)

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']
原文地址:https://www.cnblogs.com/mtcnn/p/9424098.html