网页 综合 更新时间 2026-11-15 00:10:09

Style sheets reference — Matplotlib 3.11.2 documentation

自动蜘蛛 matplotlib.org 正文约 1046 字
Go to the end to download the full example code.
This script demonstrates the different available style sheets on a common set of example plots: scatter plot, image, bar graph, patches, line plot and histogram.
Any of these style sheets can be imported (i.e. activated) by its name. For example for the ggplot style:
The names of the available style sheets can be found in the list matplotlib.style.available (they are also printed in the corner of each plot below).
See more details in Customizing Matplotlib using style sheets.
Total running time of the script: (0 minutes 41.798 seconds)
Download Jupyter notebook: style_sheets_reference.ipynb
Download Python source code: style_sheets_reference.py
Download zipped: style_sheets_reference.zip
Gallery generated by Sphinx-Gallery
© Copyright 2002–2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012–2026 The Matplotlib development team.
Created using Sphinx 9.1.0.
Built from v3.11.2-1-g879ad8ebba.
Built with the PyData Sphinx Theme 0.16.1.
访问原文 返回搜索 https://matplotlib.org/stable/gallery/style_sheets/style_sheets_reference.html
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。