doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
pick(mouseevent)[source]
Process a pick event. Each child artist will fire a pick event if mouseevent is over the artist and the artist has picker set. See also
set_picker, get_picker, pickable | matplotlib.figure_api#matplotlib.figure.SubFigure.pick |
pickable()[source]
Return whether the artist is pickable. See also
set_picker, get_picker, pick | matplotlib.figure_api#matplotlib.figure.SubFigure.pickable |
properties()[source]
Return a dictionary of all the properties of the artist. | matplotlib.figure_api#matplotlib.figure.SubFigure.properties |
remove()[source]
Remove the artist from the figure if possible. The effect will not be visible until the figure is redrawn, e.g., with FigureCanvasBase.draw_idle. Call relim to update the axes limits if desired. Note: relim will not see collections even if the collection was added to the axes with autolim = True. Not... | matplotlib.figure_api#matplotlib.figure.SubFigure.remove |
remove_callback(oid)[source]
Remove a callback based on its observer id. See also add_callback | matplotlib.figure_api#matplotlib.figure.SubFigure.remove_callback |
sca(a)[source]
Set the current Axes to be a and return a. | matplotlib.figure_api#matplotlib.figure.SubFigure.sca |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, frameon=<UNSET>, gid=<UNSET>, in_layout=<UNSET>, label=<UNSET>, linewidth=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap... | matplotlib.figure_api#matplotlib.figure.SubFigure.set |
set_agg_filter(filter_func)[source]
Set the agg filter. Parameters
filter_funccallable
A filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array. | matplotlib.figure_api#matplotlib.figure.SubFigure.set_agg_filter |
set_alpha(alpha)[source]
Set the alpha value used for blending - not supported on all backends. Parameters
alphascalar or None
alpha must be within the 0-1 range, inclusive. | matplotlib.figure_api#matplotlib.figure.SubFigure.set_alpha |
set_animated(b)[source]
Set whether the artist is intended to be used in an animation. If True, the artist is excluded from regular drawing of the figure. You have to call Figure.draw_artist / Axes.draw_artist explicitly on the artist. This appoach is used to speed up animations using blitting. See also matplotlib.an... | matplotlib.figure_api#matplotlib.figure.SubFigure.set_animated |
set_clip_box(clipbox)[source]
Set the artist's clip Bbox. Parameters
clipboxBbox | matplotlib.figure_api#matplotlib.figure.SubFigure.set_clip_box |
set_clip_on(b)[source]
Set whether the artist uses clipping. When False artists will be visible outside of the axes which can lead to unexpected results. Parameters
bbool | matplotlib.figure_api#matplotlib.figure.SubFigure.set_clip_on |
set_clip_path(path, transform=None)[source]
Set the artist's clip path. Parameters
pathPatch or Path or TransformedPath or None
The clip path. If given a Path, transform must be provided as well. If None, a previously set clip path is removed.
transformTransform, optional
Only used if path is a Path, in whi... | matplotlib.figure_api#matplotlib.figure.SubFigure.set_clip_path |
set_edgecolor(color)[source]
Set the edge color of the Figure rectangle. Parameters
colorcolor | matplotlib.figure_api#matplotlib.figure.SubFigure.set_edgecolor |
set_facecolor(color)[source]
Set the face color of the Figure rectangle. Parameters
colorcolor | matplotlib.figure_api#matplotlib.figure.SubFigure.set_facecolor |
set_figure(fig)[source]
Set the Figure instance the artist belongs to. Parameters
figFigure | matplotlib.figure_api#matplotlib.figure.SubFigure.set_figure |
set_frameon(b)[source]
Set the figure's background patch visibility, i.e. whether the figure background will be drawn. Equivalent to Figure.patch.set_visible(). Parameters
bbool | matplotlib.figure_api#matplotlib.figure.SubFigure.set_frameon |
set_gid(gid)[source]
Set the (group) id for the artist. Parameters
gidstr | matplotlib.figure_api#matplotlib.figure.SubFigure.set_gid |
set_in_layout(in_layout)[source]
Set if artist is to be included in layout calculations, E.g. Constrained Layout Guide, Figure.tight_layout(), and fig.savefig(fname, bbox_inches='tight'). Parameters
in_layoutbool | matplotlib.figure_api#matplotlib.figure.SubFigure.set_in_layout |
set_label(s)[source]
Set a label that will be displayed in the legend. Parameters
sobject
s will be converted to a string by calling str. | matplotlib.figure_api#matplotlib.figure.SubFigure.set_label |
set_linewidth(linewidth)[source]
Set the line width of the Figure rectangle. Parameters
linewidthnumber | matplotlib.figure_api#matplotlib.figure.SubFigure.set_linewidth |
set_path_effects(path_effects)[source]
Set the path effects. Parameters
path_effectsAbstractPathEffect | matplotlib.figure_api#matplotlib.figure.SubFigure.set_path_effects |
set_picker(picker)[source]
Define the picking behavior of the artist. Parameters
pickerNone or bool or float or callable
This can be one of the following:
None: Picking is disabled for this artist (default). A boolean: If True then picking will be enabled and the artist will fire a pick event if the mouse eve... | matplotlib.figure_api#matplotlib.figure.SubFigure.set_picker |
set_rasterized(rasterized)[source]
Force rasterized (bitmap) drawing for vector graphics output. Rasterized drawing is not supported by all artists. If you try to enable this on an artist that does not support it, the command has no effect and a warning will be issued. This setting is ignored for pixel-based output. ... | matplotlib.figure_api#matplotlib.figure.SubFigure.set_rasterized |
set_sketch_params(scale=None, length=None, randomness=None)[source]
Set the sketch parameters. Parameters
scalefloat, optional
The amplitude of the wiggle perpendicular to the source line, in pixels. If scale is None, or not provided, no sketch filter will be provided.
lengthfloat, optional
The length of th... | matplotlib.figure_api#matplotlib.figure.SubFigure.set_sketch_params |
set_snap(snap)[source]
Set the snapping behavior. Snapping aligns positions with the pixel grid, which results in clearer images. For example, if a black line of 1px width was defined at a position in between two pixels, the resulting image would contain the interpolated value of that line in the pixel grid, which wo... | matplotlib.figure_api#matplotlib.figure.SubFigure.set_snap |
set_transform(t)[source]
Set the artist transform. Parameters
tTransform | matplotlib.figure_api#matplotlib.figure.SubFigure.set_transform |
set_url(url)[source]
Set the url for the artist. Parameters
urlstr | matplotlib.figure_api#matplotlib.figure.SubFigure.set_url |
set_visible(b)[source]
Set the artist's visibility. Parameters
bbool | matplotlib.figure_api#matplotlib.figure.SubFigure.set_visible |
set_zorder(level)[source]
Set the zorder for the artist. Artists with lower zorder values are drawn first. Parameters
levelfloat | matplotlib.figure_api#matplotlib.figure.SubFigure.set_zorder |
subfigures(nrows=1, ncols=1, squeeze=True, wspace=None, hspace=None, width_ratios=None, height_ratios=None, **kwargs)[source]
Add a subfigure to this figure or subfigure. A subfigure has the same artist methods as a figure, and is logically the same as a figure, but cannot print itself. See Figure subfigures. Parame... | matplotlib.figure_api#matplotlib.figure.SubFigure.subfigures |
subplot_mosaic(mosaic, *, sharex=False, sharey=False, subplot_kw=None, gridspec_kw=None, empty_sentinel='.')[source]
Build a layout of Axes based on ASCII art or nested lists. This is a helper function to build complex GridSpec layouts visually. Note This API is provisional and may be revised in the future based on ... | matplotlib.figure_api#matplotlib.figure.SubFigure.subplot_mosaic |
subplots(nrows=1, ncols=1, *, sharex=False, sharey=False, squeeze=True, subplot_kw=None, gridspec_kw=None)[source]
Add a set of subplots to this figure. This utility wrapper makes it convenient to create common layouts of subplots in a single call. Parameters
nrows, ncolsint, default: 1
Number of rows/columns o... | matplotlib.figure_api#matplotlib.figure.SubFigure.subplots |
subplots_adjust(left=None, bottom=None, right=None, top=None, wspace=None, hspace=None)[source]
Adjust the subplot layout parameters. Unset parameters are left unmodified; initial values are given by rcParams["figure.subplot.[name]"]. Parameters
leftfloat, optional
The position of the left edge of the subplots,... | matplotlib.figure_api#matplotlib.figure.SubFigure.subplots_adjust |
suptitle(t, **kwargs)[source]
Add a centered suptitle to the figure. Parameters
tstr
The suptitle text.
xfloat, default: 0.5
The x location of the text in figure coordinates.
yfloat, default: 0.98
The y location of the text in figure coordinates.
horizontalalignment, ha{'center', 'left', 'right'}, def... | matplotlib.figure_api#matplotlib.figure.SubFigure.suptitle |
supxlabel(t, **kwargs)[source]
Add a centered supxlabel to the figure. Parameters
tstr
The supxlabel text.
xfloat, default: 0.5
The x location of the text in figure coordinates.
yfloat, default: 0.01
The y location of the text in figure coordinates.
horizontalalignment, ha{'center', 'left', 'right'}, ... | matplotlib.figure_api#matplotlib.figure.SubFigure.supxlabel |
supylabel(t, **kwargs)[source]
Add a centered supylabel to the figure. Parameters
tstr
The supylabel text.
xfloat, default: 0.02
The x location of the text in figure coordinates.
yfloat, default: 0.5
The y location of the text in figure coordinates.
horizontalalignment, ha{'center', 'left', 'right'}, ... | matplotlib.figure_api#matplotlib.figure.SubFigure.supylabel |
text(x, y, s, fontdict=None, **kwargs)[source]
Add text to figure. Parameters
x, yfloat
The position to place the text. By default, this is in figure coordinates, floats in [0, 1]. The coordinate system can be changed using the transform keyword.
sstr
The text string.
fontdictdict, optional
A dictionary... | matplotlib.figure_api#matplotlib.figure.SubFigure.text |
update(props)[source]
Update this artist's properties from the dict props. Parameters
propsdict | matplotlib.figure_api#matplotlib.figure.SubFigure.update |
update_from(other)[source]
Copy properties from other to self. | matplotlib.figure_api#matplotlib.figure.SubFigure.update_from |
zorder=0 | matplotlib.figure_api#matplotlib.figure.SubFigure.zorder |
classmatplotlib.figure.SubplotParams(left=None, bottom=None, right=None, top=None, wspace=None, hspace=None)[source]
A class to hold the parameters for a subplot. Defaults are given by rcParams["figure.subplot.[name]"]. Parameters
leftfloat
The position of the left edge of the subplots, as a fraction of the fig... | matplotlib.figure_api#matplotlib.figure.SubplotParams |
update(left=None, bottom=None, right=None, top=None, wspace=None, hspace=None)[source]
Update the dimensions of the passed parameters. None means unchanged. | matplotlib.figure_api#matplotlib.figure.SubplotParams.update |
matplotlib.font_manager A module for finding, managing, and using fonts across platforms. This module provides a single FontManager instance that can be shared across backends and platforms. The findfont function returns the best TrueType (TTF) font file in the local or system font path that matches the specified FontP... | matplotlib.font_manager_api |
matplotlib.font_manager.afmFontProperty(fontpath, font)[source]
Extract information from an AFM font file. Parameters
fontAFM
The AFM font file from which information will be extracted. Returns
FontEntry
The extracted font properties. | matplotlib.font_manager_api#matplotlib.font_manager.afmFontProperty |
matplotlib.font_manager.findfont(prop, fontext='ttf', directory=None, fallback_to_default=True, rebuild_if_missing=True)[source]
Find a font that most closely matches the given font properties. Parameters
propstr or FontProperties
The font properties to search for. This can be either a FontProperties object or ... | matplotlib.font_manager_api#matplotlib.font_manager.findfont |
matplotlib.font_manager.findSystemFonts(fontpaths=None, fontext='ttf')[source]
Search for fonts in the specified font paths. If no paths are given, will use a standard set of system paths, as well as the list of fonts tracked by fontconfig if fontconfig is installed and available. A list of TrueType fonts are returne... | matplotlib.font_manager_api#matplotlib.font_manager.findSystemFonts |
classmatplotlib.font_manager.FontEntry(fname:str='', name:str='', style:str='normal', variant:str='normal', weight:str='normal', stretch:str='normal', size:str='medium')
A class for storing Font properties. It is used when populating the font lookup dictionary. | matplotlib.font_manager_api#matplotlib.font_manager.FontEntry |
classmatplotlib.font_manager.FontManager(size=None, weight='normal')[source]
Bases: object On import, the FontManager singleton instance creates a list of ttf and afm fonts and caches their FontProperties. The FontManager.findfont method does a nearest neighbor search to find the font that most closely matches the sp... | matplotlib.font_manager_api#matplotlib.font_manager.FontManager |
addfont(path)[source]
Cache the properties of the font at path to make it available to the FontManager. The type of font is inferred from the path suffix. Parameters
pathstr or path-like | matplotlib.font_manager_api#matplotlib.font_manager.FontManager.addfont |
findfont(prop, fontext='ttf', directory=None, fallback_to_default=True, rebuild_if_missing=True)[source]
Find a font that most closely matches the given font properties. Parameters
propstr or FontProperties
The font properties to search for. This can be either a FontProperties object or a string defining a font... | matplotlib.font_manager_api#matplotlib.font_manager.FontManager.findfont |
staticget_default_size()[source]
Return the default font size. | matplotlib.font_manager_api#matplotlib.font_manager.FontManager.get_default_size |
get_default_weight()[source]
Return the default font weight. | matplotlib.font_manager_api#matplotlib.font_manager.FontManager.get_default_weight |
score_family(families, family2)[source]
Return a match score between the list of font families in families and the font family name family2. An exact match at the head of the list returns 0.0. A match further down the list will return between 0 and 1. No match will return 1.0. | matplotlib.font_manager_api#matplotlib.font_manager.FontManager.score_family |
score_size(size1, size2)[source]
Return a match score between size1 and size2. If size2 (the size specified in the font file) is 'scalable', this function always returns 0.0, since any font size can be generated. Otherwise, the result is the absolute distance between size1 and size2, normalized so that the usual rang... | matplotlib.font_manager_api#matplotlib.font_manager.FontManager.score_size |
score_stretch(stretch1, stretch2)[source]
Return a match score between stretch1 and stretch2. The result is the absolute value of the difference between the CSS numeric values of stretch1 and stretch2, normalized between 0.0 and 1.0. | matplotlib.font_manager_api#matplotlib.font_manager.FontManager.score_stretch |
score_style(style1, style2)[source]
Return a match score between style1 and style2. An exact match returns 0.0. A match between 'italic' and 'oblique' returns 0.1. No match returns 1.0. | matplotlib.font_manager_api#matplotlib.font_manager.FontManager.score_style |
score_variant(variant1, variant2)[source]
Return a match score between variant1 and variant2. An exact match returns 0.0, otherwise 1.0. | matplotlib.font_manager_api#matplotlib.font_manager.FontManager.score_variant |
score_weight(weight1, weight2)[source]
Return a match score between weight1 and weight2. The result is 0.0 if both weight1 and weight 2 are given as strings and have the same value. Otherwise, the result is the absolute value of the difference between the CSS numeric values of weight1 and weight2, normalized between ... | matplotlib.font_manager_api#matplotlib.font_manager.FontManager.score_weight |
set_default_weight(weight)[source]
Set the default font weight. The initial value is 'normal'. | matplotlib.font_manager_api#matplotlib.font_manager.FontManager.set_default_weight |
classmatplotlib.font_manager.FontProperties(family=None, style=None, variant=None, weight=None, stretch=None, size=None, fname=None, math_fontfamily=None)[source]
Bases: object A class for storing and manipulating font properties. The font properties are the six properties described in the W3C Cascading Style Sheet, ... | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties |
copy()[source]
Return a copy of self. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.copy |
get_family()[source]
Return a list of font names that comprise the font family. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.get_family |
get_file()[source]
Return the filename of the associated font. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.get_file |
get_fontconfig_pattern()[source]
Get a fontconfig pattern suitable for looking up the font as specified with fontconfig's fc-match utility. This support does not depend on fontconfig; we are merely borrowing its pattern syntax for use here. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.get_fontconfig_pattern |
get_math_fontfamily()[source]
Return the name of the font family used for math text. The default font is rcParams["mathtext.fontset"] (default: 'dejavusans'). | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.get_math_fontfamily |
get_name()[source]
Return the name of the font that best matches the font properties. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.get_name |
get_size()[source]
Return the font size. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.get_size |
get_size_in_points()[source] | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.get_size_in_points |
get_slant()[source]
Return the font style. Values are: 'normal', 'italic' or 'oblique'. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.get_slant |
get_stretch()[source]
Return the font stretch or width. Options are: 'ultra-condensed', 'extra-condensed', 'condensed', 'semi-condensed', 'normal', 'semi-expanded', 'expanded', 'extra-expanded', 'ultra-expanded'. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.get_stretch |
get_style()[source]
Return the font style. Values are: 'normal', 'italic' or 'oblique'. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.get_style |
get_variant()[source]
Return the font variant. Values are: 'normal' or 'small-caps'. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.get_variant |
get_weight()[source]
Set the font weight. Options are: A numeric value in the range 0-1000 or one of 'light', 'normal', 'regular', 'book', 'medium', 'roman', 'semibold', 'demibold', 'demi', 'bold', 'heavy', 'extra bold', 'black' | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.get_weight |
set_family(family)[source]
Change the font family. May be either an alias (generic name is CSS parlance), such as: 'serif', 'sans-serif', 'cursive', 'fantasy', or 'monospace', a real font name or a list of real font names. Real font names are not supported when rcParams["text.usetex"] (default: False) is True. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.set_family |
set_file(file)[source]
Set the filename of the fontfile to use. In this case, all other properties will be ignored. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.set_file |
set_fontconfig_pattern(pattern)[source]
Set the properties by parsing a fontconfig pattern. This support does not depend on fontconfig; we are merely borrowing its pattern syntax for use here. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.set_fontconfig_pattern |
set_math_fontfamily(fontfamily)[source]
Set the font family for text in math mode. If not set explicitly, rcParams["mathtext.fontset"] (default: 'dejavusans') will be used. Parameters
fontfamilystr
The name of the font family. Available font families are defined in the matplotlibrc.template file here See a... | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.set_math_fontfamily |
set_name(family)[source]
Change the font family. May be either an alias (generic name is CSS parlance), such as: 'serif', 'sans-serif', 'cursive', 'fantasy', or 'monospace', a real font name or a list of real font names. Real font names are not supported when rcParams["text.usetex"] (default: False) is True. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.set_name |
set_size(size)[source]
Set the font size. Either an relative value of 'xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large' or an absolute font size, e.g., 12. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.set_size |
set_slant(style)[source]
Set the font style. Values are: 'normal', 'italic' or 'oblique'. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.set_slant |
set_stretch(stretch)[source]
Set the font stretch or width. Options are: 'ultra-condensed', 'extra-condensed', 'condensed', 'semi-condensed', 'normal', 'semi-expanded', 'expanded', 'extra-expanded' or 'ultra-expanded', or a numeric value in the range 0-1000. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.set_stretch |
set_style(style)[source]
Set the font style. Values are: 'normal', 'italic' or 'oblique'. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.set_style |
set_variant(variant)[source]
Set the font variant. Values are: 'normal' or 'small-caps'. | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.set_variant |
set_weight(weight)[source]
Set the font weight. May be either a numeric value in the range 0-1000 or one of 'ultralight', 'light', 'normal', 'regular', 'book', 'medium', 'roman', 'semibold', 'demibold', 'demi', 'bold', 'heavy', 'extra bold', 'black' | matplotlib.font_manager_api#matplotlib.font_manager.FontProperties.set_weight |
matplotlib.font_manager.get_font(filename, hinting_factor=None)[source] | matplotlib.font_manager_api#matplotlib.font_manager.get_font |
matplotlib.font_manager.get_fontconfig_fonts(fontext='ttf')[source]
[Deprecated] List font filenames known to fc-list having the given extension. Notes Deprecated since version 3.5. | matplotlib.font_manager_api#matplotlib.font_manager.get_fontconfig_fonts |
matplotlib.font_manager.get_fontext_synonyms(fontext)[source]
Return a list of file extensions extensions that are synonyms for the given file extension fileext. | matplotlib.font_manager_api#matplotlib.font_manager.get_fontext_synonyms |
matplotlib.font_manager.is_opentype_cff_font(filename)[source]
Return whether the given font is a Postscript Compact Font Format Font embedded in an OpenType wrapper. Used by the PostScript and PDF backends that can not subset these fonts. | matplotlib.font_manager_api#matplotlib.font_manager.is_opentype_cff_font |
matplotlib.font_manager.json_dump(data, filename)[source]
Dump FontManager data as JSON to the file named filename. See also json_load
Notes File paths that are children of the Matplotlib data path (typically, fonts shipped with Matplotlib) are stored relative to that data path (to remain valid across virtualenvs... | matplotlib.font_manager_api#matplotlib.font_manager.json_dump |
matplotlib.font_manager.json_load(filename)[source]
Load a FontManager from the JSON file named filename. See also json_dump | matplotlib.font_manager_api#matplotlib.font_manager.json_load |
matplotlib.font_manager.list_fonts(directory, extensions)[source]
Return a list of all fonts matching any of the extensions, found recursively under the directory. | matplotlib.font_manager_api#matplotlib.font_manager.list_fonts |
matplotlib.font_manager.ttfFontProperty(font)[source]
Extract information from a TrueType font file. Parameters
fontFT2Font
The TrueType font file from which information will be extracted. Returns
FontEntry
The extracted font properties. | matplotlib.font_manager_api#matplotlib.font_manager.ttfFontProperty |
matplotlib.font_manager.win32FontDirectory()[source]
Return the user-specified font directory for Win32. This is looked up from the registry key \\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Fonts
If the key is not found, %WINDIR%\Fonts will be returned. | matplotlib.font_manager_api#matplotlib.font_manager.win32FontDirectory |
matplotlib.font_manager.win32InstalledFonts(directory=None, fontext='ttf')[source]
[Deprecated] Search for fonts in the specified font directory, or use the system directories if none given. Additionally, it is searched for user fonts installed. A list of TrueType font filenames are returned by default, or AFM fonts ... | matplotlib.font_manager_api#matplotlib.font_manager.win32InstalledFonts |
matplotlib.fontconfig_pattern A module for parsing and generating fontconfig patterns. classmatplotlib.fontconfig_pattern.FontconfigPatternParser[source]
Bases: object A simple pyparsing-based parser for fontconfig patterns. parse(pattern)[source]
Parse the given fontconfig pattern and return a dictionary of ke... | matplotlib.fontconfig_pattern_api |
matplotlib.fontconfig_pattern.family_escape(/, repl, string, count=0)
Return the string obtained by replacing the leftmost non-overlapping occurrences of pattern in string by the replacement repl. | matplotlib.fontconfig_pattern_api#matplotlib.fontconfig_pattern.family_escape |
matplotlib.fontconfig_pattern.family_unescape(/, repl, string, count=0)
Return the string obtained by replacing the leftmost non-overlapping occurrences of pattern in string by the replacement repl. | matplotlib.fontconfig_pattern_api#matplotlib.fontconfig_pattern.family_unescape |
classmatplotlib.fontconfig_pattern.FontconfigPatternParser[source]
Bases: object A simple pyparsing-based parser for fontconfig patterns. parse(pattern)[source]
Parse the given fontconfig pattern and return a dictionary of key/value pairs useful for initializing a font_manager.FontProperties object. | matplotlib.fontconfig_pattern_api#matplotlib.fontconfig_pattern.FontconfigPatternParser |
parse(pattern)[source]
Parse the given fontconfig pattern and return a dictionary of key/value pairs useful for initializing a font_manager.FontProperties object. | matplotlib.fontconfig_pattern_api#matplotlib.fontconfig_pattern.FontconfigPatternParser.parse |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.