File: style_api.rst

package info (click to toggle)
matplotlib 3.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 76,280 kB
  • sloc: python: 133,763; cpp: 66,599; objc: 1,699; ansic: 1,367; javascript: 765; makefile: 153; sh: 48
file content (33 lines) | stat: -rw-r--r-- 890 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
********************
``matplotlib.style``
********************

Styles are predefined sets of `.rcParams` that define the visual appearance of
a plot.

:doc:`/tutorials/introductory/customizing` describes the mechanism and usage
of styles.

The :doc:`/gallery/style_sheets/style_sheets_reference` gives an overview of
the builtin styles.

.. automodule:: matplotlib.style
   :members:
   :undoc-members:
   :show-inheritance:
   :imported-members:

.. imported variables have to be specified explicitly due to
   https://github.com/sphinx-doc/sphinx/issues/6607

.. data:: matplotlib.style.library

   A dict mapping from style name to `.RcParams` defining that style.

   This is meant to be read-only. Use `.reload_library` to update.

.. data:: matplotlib.style.available

   List of the names of the available styles.

   This is meant to be read-only. Use `.reload_library` to update.