The rcsetup module contains the default values and the validation code forcustomization using matplotlib's rc settings.
Each rc setting is assigned a default value and a function used to validateany attempted changes to that setting. The default values and validationfunctions are defined in the rcsetup module, and are used to construct thercParams global object which stores the settings and is referenced throughoutmatplotlib.
Click on the entry for the 'rcsetup###.exe file' (it should show ‘Open File' beneath the file name) Opera: Step 1 - Download the installer. Enterprise Products, Solutions and Services for Enterprise. Consumer Smartphones, PC & Tablets, Wearables and More. Corporate About Huawei, Press & Events, and More.
These default values should be consistent with the default matplotlibrc filethat actually reflects the values given here. Any additions or deletions to theparameter set listed here should also be visited to thematplotlibrc.template
in matplotlib's root source directory.
matplotlib.rcsetup.
ValidateInStrings
(key, valid, ignorecase=False)¶Bases: object
valid is a list of legal strings
matplotlib.rcsetup.
ValidateInterval
(vmin, vmax, closedmin=True, closedmax=True)¶Bases: object
Value must be in interval
matplotlib.rcsetup.
cycler
(*args, **kwargs)¶Creates a cycler.Cycler
object much like cycler.cycler()
,but includes input validation.
cycler(arg)cycler(label, itr)cycler(label1=itr1[, label2=itr2[, …]])
Form 1 simply copies a given Cycler
object.
Form 2 creates a Cycler
from a label and an iterable.
Form 3 composes a Cycler
as an inner product of thepairs of keyword arguments. In other words, all of theiterables are cycled simultaneously, as if through zip().
Parameters: | arg : Cycler label : name
itr : iterable
|
---|---|
Returns: | Lirik lagu dan chord boomerang lestari alamku. cycler : Cycler |
matplotlib.rcsetup.
deprecate_axes_hold
(value)¶
matplotlib.rcsetup.
update_savefig_format
(value)¶
matplotlib.rcsetup.
validate_animation_writer_path
(p)¶
matplotlib.rcsetup.
validate_any
(s)¶
matplotlib.rcsetup.
validate_anylist
(s)¶
matplotlib.rcsetup.
validate_aspect
(s)¶
matplotlib.rcsetup.
validate_axisbelow
(s)¶
matplotlib.rcsetup.
validate_backend
(s)¶
matplotlib.rcsetup.
validate_bbox
(s)¶
matplotlib.rcsetup.
validate_bool
(b)¶Convert b to a boolean or raise
matplotlib.rcsetup.
validate_bool_maybe_none
(b)¶Convert b to a boolean or raise
matplotlib.rcsetup.
validate_capstylelist
(s)¶
matplotlib.rcsetup.
validate_color
(s)¶return a valid color arg
matplotlib.rcsetup.
validate_color_for_prop_cycle
(s)¶
matplotlib.rcsetup.
validate_color_or_auto
(s)¶
matplotlib.rcsetup.
validate_color_or_inherit
(s)¶return a valid color arg
matplotlib.rcsetup.
validate_colorlist
(s)¶return a list of colorspecs
matplotlib.rcsetup.
validate_cycler
(s)¶return a Cycler object from a string repr or the object itself
matplotlib.rcsetup.
validate_dashlist
(s)¶
matplotlib.rcsetup.
validate_dpi
(s)¶confirm s is string ‘figure' or convert s to float or raise
matplotlib.rcsetup.
validate_fillstylelist
(s)¶
matplotlib.rcsetup.
validate_float
(s)¶convert s to float or raise
matplotlib.rcsetup.
validate_float_or_None
(s)¶convert s to float, None or raise
matplotlib.rcsetup.
validate_floatlist
(s)¶convert s to float or raise
matplotlib.rcsetup.
validate_font_properties
(s)¶
matplotlib.rcsetup.
validate_fontsize
(s)¶
matplotlib.rcsetup.
validate_fontsizelist
(s)¶
matplotlib.rcsetup.
validate_fonttype
(s)¶confirm that this is a Postscript of PDF font type that we know how toconvert to
matplotlib.rcsetup.
validate_hatch
(s)¶Validate a hatch pattern.A hatch pattern string can have any sequence of the followingcharacters: /|-+*.xoO
.
matplotlib.rcsetup.
validate_hatchlist
(s)¶Validate a hatch pattern.A hatch pattern string can have any sequence of the followingcharacters: /|-+*.xoO
.
matplotlib.rcsetup.
validate_hinting
(s)¶
matplotlib.rcsetup.
validate_hist_bins
(s)¶
matplotlib.rcsetup.
validate_int
(s)¶convert s to int or raise
matplotlib.rcsetup.
validate_int_or_None
(s)¶if not None, tries to validate as an int
matplotlib.rcsetup.
validate_joinstylelist
(s)¶
matplotlib.rcsetup.
validate_negative_linestyle
(s)¶Deprecated since version 2.1: The validate_negative_linestyle function was deprecated in version 2.1. See ‘validate_negative_linestyle_legacy' deprecation warning for more information.
matplotlib.rcsetup.
validate_negative_linestyle_legacy
(s)¶Deprecated since version 2.1: The validate_negative_linestyle_legacy function was deprecated in version 2.1. The ‘contour.negative_linestyle' rcParam now follows the same validation as the other rcParams that are related to line style.
matplotlib.rcsetup.
validate_nseq_float
(n=None, allow_none=False)¶Bases: object
Rcsetup152
matplotlib.rcsetup.
validate_nseq_int
(n=None)¶Bases: object
matplotlib.rcsetup.
validate_path_exists
(s)¶If s is a path, return s, else False
matplotlib.rcsetup.
validate_ps_distiller
(s)¶
matplotlib.rcsetup.
validate_sketch
(s)¶
matplotlib.rcsetup.
validate_string
(s)¶
matplotlib.rcsetup.
validate_string_or_None
(s)¶convert s to string or raise
matplotlib.rcsetup.
validate_stringlist
(s)¶return a list
matplotlib.rcsetup.
validate_svg_fonttype
(s)¶
matplotlib.rcsetup.
validate_toolbar
(s)¶
matplotlib.rcsetup.
validate_webagg_address
(s)¶
matplotlib.rcsetup.
validate_whiskers
(s)¶
The rcsetup module contains the validation code for customization usingMatplotlib's rc settings.
Each rc setting is assigned a function used to validate any attempted changesto that setting. The validation functions are defined in the rcsetup module,and are used to construct the rcParams global object which stores the settingsand 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 bepropagated to the matplotlibrc.template
in Matplotlib's root sourcedirectory.
matplotlib.rcsetup.
ValidateInStrings
(key, valid, ignorecase=False, *, _deprecated_since=None)[source]¶Bases: object
valid is a list of legal strings.
matplotlib.rcsetup.
cycler
(*args, **kwargs)[source]¶Create a Cycler
object much like cycler.cycler()
,but includes input validation.
Call signatures:
Form 1 copies a given Cycler
object.
Form 2 creates a Cycler
which cycles over one or moreproperties simultaneously. If multiple properties are given, theirvalue lists must have the same length.
Form 3 creates a Cycler
for a single property. This formexists for compatibility with the original cycler. Its use isdiscouraged in favor of the kwarg form, i.e. cycler(label=values)
.
Parameters: |
|
---|---|
Returns: |
|
Examples
Creating a cycler for a single property:
Creating a cycler for simultaneously cycling over multiple properties(e.g. red circle, green plus, blue cross):
matplotlib.rcsetup.
update_savefig_format
(value)[source]¶[Deprecated]
Notes
Deprecated since version 3.2:
matplotlib.rcsetup.
validate_animation_writer_path
(p)[source]¶[Deprecated]
Notes
matplotlib.rcsetup.
validate_any
(s)[source]¶
matplotlib.rcsetup.
validate_anylist
(s)¶
matplotlib.rcsetup.
validate_aspect
(s)[source]¶
matplotlib.rcsetup.
validate_axisbelow
(s)[source]¶
matplotlib.rcsetup.
validate_backend
(s)[source]¶
matplotlib.rcsetup.
validate_bbox
(s)[source]¶
matplotlib.rcsetup.
validate_bool
(b)[source]¶Convert b to bool
or raise.
matplotlib.rcsetup.
validate_bool_maybe_none
(b)[source]¶[Deprecated] Convert b to bool
or raise, passing through None.
Notes
Deprecated since version 3.3.
matplotlib.rcsetup.
validate_capstyle
(s)[source]¶
matplotlib.rcsetup.
validate_capstylelist
(s)¶
matplotlib.rcsetup.
validate_color
(s)[source]¶Return a valid color arg.
matplotlib.rcsetup.
validate_color_for_prop_cycle
(s)[source]¶
matplotlib.rcsetup.
validate_color_or_auto
(s)[source]¶
matplotlib.rcsetup.
validate_color_or_inherit
(s)[source]¶Return a valid color arg.
matplotlib.rcsetup.
validate_colorlist
(s)¶return a list of colorspecs
matplotlib.rcsetup.
validate_cycler
(s)[source]¶Return a Cycler object from a string repr or the object itself.
matplotlib.rcsetup.
validate_dashlist
(s)¶return a list of floats
matplotlib.rcsetup.
validate_dpi
(s)[source]¶Confirm s is string 'figure' or convert s to float or raise.
matplotlib.rcsetup.
validate_fillstylelist
(s)¶
matplotlib.rcsetup.
validate_float
(s)¶
matplotlib.rcsetup.
validate_float_or_None
(s)¶
matplotlib.rcsetup.
validate_floatlist
(s)¶return a list of floats
matplotlib.rcsetup.
validate_font_properties
(s)[source]¶
matplotlib.rcsetup.
validate_fontsize
(s)[source]¶
matplotlib.rcsetup.
validate_fontsize_None
(s)[source]¶
matplotlib.rcsetup.
validate_fontsizelist
(s)¶
matplotlib.rcsetup.
validate_fonttype
(s)[source]¶Confirm that this is a Postscript or PDF font type that we know how toconvert to.
matplotlib.rcsetup.
validate_fontweight
(s)[source]¶
matplotlib.rcsetup.
validate_hatch
(s)[source]¶Validate a hatch pattern.A hatch pattern string can have any sequence of the followingcharacters: /|-+*.xoO
.
matplotlib.rcsetup.
validate_hatchlist
(s)¶Validate a hatch pattern.A hatch pattern string can have any sequence of the followingcharacters: /|-+*.xoO
.
matplotlib.rcsetup.
validate_hinting
(s)[source]¶[Deprecated]
Rcsetup153.exe
Notes
matplotlib.rcsetup.
validate_hist_bins
(s)[source]¶
matplotlib.rcsetup.
validate_int
(s)¶
matplotlib.rcsetup.
validate_int_or_None
(s)¶
matplotlib.rcsetup.
validate_joinstyle
(s)[source]¶
matplotlib.rcsetup.
validate_joinstylelist
(s)¶
matplotlib.rcsetup.
validate_markevery
(s)[source]¶Validate the markevery property of a Line2D object.
Parameters: |
|
---|---|
Returns: |
|
matplotlib.rcsetup.
validate_markeverylist
(s)¶Validate the markevery property of a Line2D object.
Parameters: |
|
---|---|
Returns: |
|
matplotlib.rcsetup.
validate_movie_writer
(s)[source]¶Parameters: | arg : Cycler label : name
itr : iterable
|
---|---|
Returns: | Lirik lagu dan chord boomerang lestari alamku. cycler : Cycler |
matplotlib.rcsetup.
deprecate_axes_hold
(value)¶
matplotlib.rcsetup.
update_savefig_format
(value)¶
matplotlib.rcsetup.
validate_animation_writer_path
(p)¶
matplotlib.rcsetup.
validate_any
(s)¶
matplotlib.rcsetup.
validate_anylist
(s)¶
matplotlib.rcsetup.
validate_aspect
(s)¶
matplotlib.rcsetup.
validate_axisbelow
(s)¶
matplotlib.rcsetup.
validate_backend
(s)¶
matplotlib.rcsetup.
validate_bbox
(s)¶
matplotlib.rcsetup.
validate_bool
(b)¶Convert b to a boolean or raise
matplotlib.rcsetup.
validate_bool_maybe_none
(b)¶Convert b to a boolean or raise
matplotlib.rcsetup.
validate_capstylelist
(s)¶
matplotlib.rcsetup.
validate_color
(s)¶return a valid color arg
matplotlib.rcsetup.
validate_color_for_prop_cycle
(s)¶
matplotlib.rcsetup.
validate_color_or_auto
(s)¶
matplotlib.rcsetup.
validate_color_or_inherit
(s)¶return a valid color arg
matplotlib.rcsetup.
validate_colorlist
(s)¶return a list of colorspecs
matplotlib.rcsetup.
validate_cycler
(s)¶return a Cycler object from a string repr or the object itself
matplotlib.rcsetup.
validate_dashlist
(s)¶
matplotlib.rcsetup.
validate_dpi
(s)¶confirm s is string ‘figure' or convert s to float or raise
matplotlib.rcsetup.
validate_fillstylelist
(s)¶
matplotlib.rcsetup.
validate_float
(s)¶convert s to float or raise
matplotlib.rcsetup.
validate_float_or_None
(s)¶convert s to float, None or raise
matplotlib.rcsetup.
validate_floatlist
(s)¶convert s to float or raise
matplotlib.rcsetup.
validate_font_properties
(s)¶
matplotlib.rcsetup.
validate_fontsize
(s)¶
matplotlib.rcsetup.
validate_fontsizelist
(s)¶
matplotlib.rcsetup.
validate_fonttype
(s)¶confirm that this is a Postscript of PDF font type that we know how toconvert to
matplotlib.rcsetup.
validate_hatch
(s)¶Validate a hatch pattern.A hatch pattern string can have any sequence of the followingcharacters: /|-+*.xoO
.
matplotlib.rcsetup.
validate_hatchlist
(s)¶Validate a hatch pattern.A hatch pattern string can have any sequence of the followingcharacters: /|-+*.xoO
.
matplotlib.rcsetup.
validate_hinting
(s)¶
matplotlib.rcsetup.
validate_hist_bins
(s)¶
matplotlib.rcsetup.
validate_int
(s)¶convert s to int or raise
matplotlib.rcsetup.
validate_int_or_None
(s)¶if not None, tries to validate as an int
matplotlib.rcsetup.
validate_joinstylelist
(s)¶
matplotlib.rcsetup.
validate_negative_linestyle
(s)¶Deprecated since version 2.1: The validate_negative_linestyle function was deprecated in version 2.1. See ‘validate_negative_linestyle_legacy' deprecation warning for more information.
matplotlib.rcsetup.
validate_negative_linestyle_legacy
(s)¶Deprecated since version 2.1: The validate_negative_linestyle_legacy function was deprecated in version 2.1. The ‘contour.negative_linestyle' rcParam now follows the same validation as the other rcParams that are related to line style.
matplotlib.rcsetup.
validate_nseq_float
(n=None, allow_none=False)¶Bases: object
Rcsetup152
matplotlib.rcsetup.
validate_nseq_int
(n=None)¶Bases: object
matplotlib.rcsetup.
validate_path_exists
(s)¶If s is a path, return s, else False
matplotlib.rcsetup.
validate_ps_distiller
(s)¶
matplotlib.rcsetup.
validate_sketch
(s)¶
matplotlib.rcsetup.
validate_string
(s)¶
matplotlib.rcsetup.
validate_string_or_None
(s)¶convert s to string or raise
matplotlib.rcsetup.
validate_stringlist
(s)¶return a list
matplotlib.rcsetup.
validate_svg_fonttype
(s)¶
matplotlib.rcsetup.
validate_toolbar
(s)¶
matplotlib.rcsetup.
validate_webagg_address
(s)¶
matplotlib.rcsetup.
validate_whiskers
(s)¶
The rcsetup module contains the validation code for customization usingMatplotlib's rc settings.
Each rc setting is assigned a function used to validate any attempted changesto that setting. The validation functions are defined in the rcsetup module,and are used to construct the rcParams global object which stores the settingsand 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 bepropagated to the matplotlibrc.template
in Matplotlib's root sourcedirectory.
matplotlib.rcsetup.
ValidateInStrings
(key, valid, ignorecase=False, *, _deprecated_since=None)[source]¶Bases: object
valid is a list of legal strings.
matplotlib.rcsetup.
cycler
(*args, **kwargs)[source]¶Create a Cycler
object much like cycler.cycler()
,but includes input validation.
Call signatures:
Form 1 copies a given Cycler
object.
Form 2 creates a Cycler
which cycles over one or moreproperties simultaneously. If multiple properties are given, theirvalue lists must have the same length.
Form 3 creates a Cycler
for a single property. This formexists for compatibility with the original cycler. Its use isdiscouraged in favor of the kwarg form, i.e. cycler(label=values)
.
Parameters: |
|
---|---|
Returns: |
|
Examples
Creating a cycler for a single property:
Creating a cycler for simultaneously cycling over multiple properties(e.g. red circle, green plus, blue cross):
matplotlib.rcsetup.
update_savefig_format
(value)[source]¶[Deprecated]
Notes
Deprecated since version 3.2:
matplotlib.rcsetup.
validate_animation_writer_path
(p)[source]¶[Deprecated]
Notes
matplotlib.rcsetup.
validate_any
(s)[source]¶
matplotlib.rcsetup.
validate_anylist
(s)¶
matplotlib.rcsetup.
validate_aspect
(s)[source]¶
matplotlib.rcsetup.
validate_axisbelow
(s)[source]¶
matplotlib.rcsetup.
validate_backend
(s)[source]¶
matplotlib.rcsetup.
validate_bbox
(s)[source]¶
matplotlib.rcsetup.
validate_bool
(b)[source]¶Convert b to bool
or raise.
matplotlib.rcsetup.
validate_bool_maybe_none
(b)[source]¶[Deprecated] Convert b to bool
or raise, passing through None.
Notes
Deprecated since version 3.3.
matplotlib.rcsetup.
validate_capstyle
(s)[source]¶
matplotlib.rcsetup.
validate_capstylelist
(s)¶
matplotlib.rcsetup.
validate_color
(s)[source]¶Return a valid color arg.
matplotlib.rcsetup.
validate_color_for_prop_cycle
(s)[source]¶
matplotlib.rcsetup.
validate_color_or_auto
(s)[source]¶
matplotlib.rcsetup.
validate_color_or_inherit
(s)[source]¶Return a valid color arg.
matplotlib.rcsetup.
validate_colorlist
(s)¶return a list of colorspecs
matplotlib.rcsetup.
validate_cycler
(s)[source]¶Return a Cycler object from a string repr or the object itself.
matplotlib.rcsetup.
validate_dashlist
(s)¶return a list of floats
matplotlib.rcsetup.
validate_dpi
(s)[source]¶Confirm s is string 'figure' or convert s to float or raise.
matplotlib.rcsetup.
validate_fillstylelist
(s)¶
matplotlib.rcsetup.
validate_float
(s)¶
matplotlib.rcsetup.
validate_float_or_None
(s)¶
matplotlib.rcsetup.
validate_floatlist
(s)¶return a list of floats
matplotlib.rcsetup.
validate_font_properties
(s)[source]¶
matplotlib.rcsetup.
validate_fontsize
(s)[source]¶
matplotlib.rcsetup.
validate_fontsize_None
(s)[source]¶
matplotlib.rcsetup.
validate_fontsizelist
(s)¶
matplotlib.rcsetup.
validate_fonttype
(s)[source]¶Confirm that this is a Postscript or PDF font type that we know how toconvert to.
matplotlib.rcsetup.
validate_fontweight
(s)[source]¶
matplotlib.rcsetup.
validate_hatch
(s)[source]¶Validate a hatch pattern.A hatch pattern string can have any sequence of the followingcharacters: /|-+*.xoO
.
matplotlib.rcsetup.
validate_hatchlist
(s)¶Validate a hatch pattern.A hatch pattern string can have any sequence of the followingcharacters: /|-+*.xoO
.
matplotlib.rcsetup.
validate_hinting
(s)[source]¶[Deprecated]
Rcsetup153.exe
Notes
matplotlib.rcsetup.
validate_hist_bins
(s)[source]¶
matplotlib.rcsetup.
validate_int
(s)¶
matplotlib.rcsetup.
validate_int_or_None
(s)¶
matplotlib.rcsetup.
validate_joinstyle
(s)[source]¶
matplotlib.rcsetup.
validate_joinstylelist
(s)¶
matplotlib.rcsetup.
validate_markevery
(s)[source]¶Validate the markevery property of a Line2D object.
Parameters: |
|
---|---|
Returns: |
|
matplotlib.rcsetup.
validate_markeverylist
(s)¶Validate the markevery property of a Line2D object.
Parameters: |
|
---|---|
Returns: |
|
matplotlib.rcsetup.
validate_movie_writer
(s)[source]¶[Deprecated]
Notes
Deprecated since version 3.3:
matplotlib.rcsetup.
validate_nseq_float
(n)[source]¶[Deprecated]
Notes
matplotlib.rcsetup.
validate_nseq_int
(n)[source]¶[Deprecated]
Notes
Deprecated since version 3.3:
matplotlib.rcsetup.
validate_path_exists
(s)[source]¶[Deprecated] If s is a path, return s, else False
Notes
matplotlib.rcsetup.
validate_ps_distiller
(s)[source]¶
matplotlib.rcsetup.
validate_sketch
(s)[source]¶
matplotlib.rcsetup.
validate_string
(s)¶
matplotlib.rcsetup.
validate_string_or_None
(s)¶
matplotlib.rcsetup.
validate_stringlist
(s)¶return a list of strings
matplotlib.rcsetup.
validate_webagg_address
(s)[source]¶[Deprecated]
Notes
Deprecated since version 3.3:
matplotlib.rcsetup.
validate_whiskers
(s)[source]¶