| [ Web Proxy ] |
| Viewing: https://matplotlib.org/stable/api/_as_gen/../rcsetup_api.html | [Back] [Original] |
Section Navigation
matplotlibmatplotlib.animationmatplotlib.artistmatplotlib.axesmatplotlib.axismatplotlib.backend_basesmatplotlib.backend_managersmatplotlib.backend_toolsmatplotlib.backendsmatplotlib.backends.backend_mixedmatplotlib.backends.backend_templatematplotlib.backends.backend_aggmatplotlib.backends.backend_cairomatplotlib.backends.backend_gtk3agg, matplotlib.backends.backend_gtk3cairomatplotlib.backends.backend_gtk4agg, matplotlib.backends.backend_gtk4cairomatplotlib.backends.backend_nbaggmatplotlib.backends.backend_pdfmatplotlib.backends.backend_pgfmatplotlib.backends.backend_psmatplotlib.backends.registrymatplotlib.backends.backend_qtagg, matplotlib.backends.backend_qtcairomatplotlib.backends.backend_svgmatplotlib.backends.backend_tkagg, matplotlib.backends.backend_tkcairomatplotlib.backends.backend_webagg_corematplotlib.backends.backend_webaggmatplotlib.backends.backend_wxagg, matplotlib.backends.backend_wxcairomatplotlib.beziermatplotlib.categorymatplotlib.cbookmatplotlib.cmmatplotlib.collectionsmatplotlib.colorbarmatplotlib.colorizermatplotlib.colorsmatplotlib.containermatplotlib.contourmatplotlib.datesmatplotlib.dvireadmatplotlib.figurematplotlib.font_managermatplotlib.ft2fontmatplotlib.gridspec
matplotlib.hatchmatplotlib.imagematplotlib.insetmatplotlib.layout_enginematplotlib.legendmatplotlib.legend_handlermatplotlib.lines
matplotlib.markers
matplotlib.mathtextmatplotlib.mlabmatplotlib.offsetboxmatplotlib.patchesmatplotlib.pathmatplotlib.patheffectsmatplotlib.pyplotmatplotlib.projections
matplotlib.quiver
matplotlib.rcsetupmatplotlib.sankeymatplotlib.scalematplotlib.sphinxext.mathmplmatplotlib.sphinxext.plot_directivematplotlib.sphinxext.figmpl_directivematplotlib.sphinxext.rolesmatplotlib.spinesmatplotlib.stylematplotlib.tablematplotlib.testingmatplotlib.textmatplotlib.texmanagermatplotlib.tickermatplotlib.transformsmatplotlib.trimatplotlib.typingmatplotlib.unitsmatplotlib.widgetsmatplotlib._afmmatplotlib._apimatplotlib._docstringmatplotlib._enumsmatplotlib._type1fontmatplotlib._tight_bboxmatplotlib._tight_layoutmpl_toolkits.mplot3dmpl_toolkits.axes_grid1mpl_toolkits.axisartistpylabmatplotlib.rcsetupmatplotlib.rcsetup#The rcsetup module contains the validation code for customization using Matplotlib's rc settings.
Each rc setting is assigned a function used to validate any attempted changes to that setting. The validation functions are defined in the rcsetup module, and are used to construct the rcParams global object which stores the settings and is referenced throughout Matplotlib.
The default values of the rc settings are set in the default matplotlibrc file.
Any additions or deletions to the parameter set listed here should also be
propagated to the lib/matplotlib/mpl-data/matplotlibrc in Matplotlib's
root source directory. New rcparams also need to be added to the RcKeyType enum
in lib/matplotlib/typing.py.
Bases: object
valid is a list of legal strings.
Create a Cycler object much like cycler.cycler(),
but includes input validation.
Call signatures:
cycler(cycler)
cycler(label=values, label2=values2, ...)
cycler(label, values)
Form 1 copies a given Cycler object.
Form 2 creates a Cycler which cycles over one or more
properties simultaneously. If multiple properties are given, their
value lists must have the same length.
Form 3 creates a Cycler for a single property. This form
exists for compatibility with the original cycler. Its use is
discouraged in favor of the kwarg form, i.e. cycler(label=values).
Copy constructor for Cycler.
The property key. Must be a valid Artist property.
For example, 'color' or 'linestyle'. Aliases are allowed,
such as 'c' for 'color' and 'lw' for 'linewidth'.
Finite-length iterable of the property values. These values are validated and will raise a ValueError if invalid.
A new Cycler for the given properties.
Examples
Creating a cycler for a single property:
>>> c = cycler(color=['red', 'green', 'blue'])
Creating a cycler for simultaneously cycling over multiple properties (e.g. red circle, green plus, blue cross):
>>> c = cycler(color=['red', 'green', 'blue'],
... marker=['o', '+', 'x'])
Return a Cycler object from a string repr or the object itself.
Confirm s is string 'figure' or convert s to float or raise.
Confirm that this is a Postscript or PDF font type that we know how to convert to.
Validate a hatch pattern.
A hatch pattern string can have any sequence of the following
characters: \ / | - + * . x o O.
Validate a hatch pattern.
A hatch pattern string can have any sequence of the following
characters: \ / | - + * . x o O.
Validate the markevery property of a Line2D object.
ValidateInStringscycler()validate_any()validate_anylist()validate_aspect()validate_axisbelow()validate_backend()validate_bbox()validate_bool()validate_color()validate_color_for_prop_cycle()validate_color_or_auto()validate_color_or_inherit()validate_colorlist()validate_cycler()validate_dashlist()validate_dpi()validate_fillstylelist()validate_float()validate_float_or_None()validate_floatlist()validate_font_properties()validate_fontsize()validate_fontsize_None()validate_fontsizelist()validate_fontstretch()validate_fonttype()validate_fontweight()validate_hatch()validate_hatchlist()validate_hist_bins()validate_int()validate_int_or_None()validate_intlist()validate_markevery()validate_markeverylist()validate_ps_distiller()validate_sketch()validate_string()validate_string_or_None()validate_stringlist()validate_whiskers()
Copyright 20022012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 20122026 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.
| Web Proxy Viewer | New URL | Original Page |