python的matplotlib风格,matplotlib style 查看可选的绘图风格

所属的课程名称及链接

环境信息

* ModelArts

* Notebook - Multi-Engine 2.0 (python3)

* JupyterLab - Notebook - Conda-python3

* matplotlib 2.1.0

matplotlib style 查看可选的绘图风格

import matplotlib.pyplot as plt

plt.style.available

['Solarize_Light2',

'_classic_test',

'bmh',

'classic',

'dark_background',

'fast',

'fivethirtyeight',

'ggplot',

'grayscale',

'seaborn-bright',

'seaborn-colorblind',

'seaborn-dark-palette',

'seaborn-dark',

'seaborn-darkgrid',

'seaborn-deep',

'seaborn-muted',

'seaborn-notebook',

'seaborn-paper',

'seaborn-pastel',

'seaborn-poster',

'seaborn-talk',

'seaborn-ticks',

'seaborn-white',

'seaborn-whitegrid',

'seaborn']

help

help(plt.style)

Help on package matplotlib.style in matplotlib:

NAME

matplotlib.style

PACKAGE CONTENTS

core

DATA

absolute_import = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0...

available = ['Solarize_Light2', '_classic_test', 'bmh', 'classic', 'da...

library = {'Solarize_Light2': RcParams({'axes.axisbelow': True,

...

FILE

/home/ma-user/anaconda3/lib/python3.6/site-packages/matplotlib/style/__init__.py

备注

1. 感谢老师的教学与课件

2. 欢迎各位同学一起来交流学习心得^_^

3. 沙箱实验、认证、论坛和直播,其中包含了许多优质的内容,推荐了解与学习。

你可能感兴趣的:(python的matplotlib风格,matplotlib style 查看可选的绘图风格)