doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
matplotlib.artist.Artist.add_callback Artist.add_callback(func)[source]
Add a callback function that will be called whenever one of the Artist's properties changes. Parameters
funccallable
The callback function. It must have the signature: def func(artist: Artist) -> Any
where artist is the calling Artist. R... | matplotlib._as_gen.matplotlib.artist.artist.add_callback |
matplotlib.artist.Artist.axes propertyArtist.axes
The Axes instance the artist resides in, or None. | matplotlib._as_gen.matplotlib.artist.artist.axes |
matplotlib.artist.Artist.contains Artist.contains(mouseevent)[source]
Test whether the artist contains the mouse event. Parameters
mouseeventmatplotlib.backend_bases.MouseEvent
Returns
containsbool
Whether any values are within the radius.
detailsdict
An artist-specific dictionary of details of the ... | matplotlib._as_gen.matplotlib.artist.artist.contains |
matplotlib.artist.Artist.convert_xunits Artist.convert_xunits(x)[source]
Convert x using the unit type of the xaxis. If the artist is not in contained in an Axes or if the xaxis does not have units, x itself is returned. | matplotlib._as_gen.matplotlib.artist.artist.convert_xunits |
matplotlib.artist.Artist.convert_yunits Artist.convert_yunits(y)[source]
Convert y using the unit type of the yaxis. If the artist is not in contained in an Axes or if the yaxis does not have units, y itself is returned. | matplotlib._as_gen.matplotlib.artist.artist.convert_yunits |
matplotlib.artist.Artist.draw Artist.draw(renderer)[source]
Draw the Artist (and its children) using the given renderer. This has no effect if the artist is not visible (Artist.get_visible returns False). Parameters
rendererRendererBase subclass.
Notes This method is overridden in the Artist subclasses. | matplotlib._as_gen.matplotlib.artist.artist.draw |
matplotlib.artist.Artist.findobj Artist.findobj(match=None, include_self=True)[source]
Find artist objects. Recursively find all Artist instances contained in the artist. Parameters
match
A filter criterion for the matches. This can be
None: Return all objects contained in artist. A function with signature de... | matplotlib._as_gen.matplotlib.artist.artist.findobj |
matplotlib.artist.Artist.format_cursor_data Artist.format_cursor_data(data)[source]
Return a string representation of data. Note This method is intended to be overridden by artist subclasses. As an end-user of Matplotlib you will most likely not call this method yourself. The default implementation converts ints ... | matplotlib._as_gen.matplotlib.artist.artist.format_cursor_data |
matplotlib.artist.Artist.get_agg_filter Artist.get_agg_filter()[source]
Return filter function to be used for agg filter. | matplotlib._as_gen.matplotlib.artist.artist.get_agg_filter |
matplotlib.artist.Artist.get_alpha Artist.get_alpha()[source]
Return the alpha value used for blending - not supported on all backends. | matplotlib._as_gen.matplotlib.artist.artist.get_alpha |
matplotlib.artist.Artist.get_animated Artist.get_animated()[source]
Return whether the artist is animated. | matplotlib._as_gen.matplotlib.artist.artist.get_animated |
matplotlib.artist.Artist.get_children Artist.get_children()[source]
Return a list of the child Artists of this Artist. | matplotlib._as_gen.matplotlib.artist.artist.get_children |
matplotlib.artist.Artist.get_clip_box Artist.get_clip_box()[source]
Return the clipbox. | matplotlib._as_gen.matplotlib.artist.artist.get_clip_box |
matplotlib.artist.Artist.get_clip_on Artist.get_clip_on()[source]
Return whether the artist uses clipping. | matplotlib._as_gen.matplotlib.artist.artist.get_clip_on |
matplotlib.artist.Artist.get_clip_path Artist.get_clip_path()[source]
Return the clip path. | matplotlib._as_gen.matplotlib.artist.artist.get_clip_path |
matplotlib.artist.Artist.get_cursor_data Artist.get_cursor_data(event)[source]
Return the cursor data for a given event. Note This method is intended to be overridden by artist subclasses. As an end-user of Matplotlib you will most likely not call this method yourself. Cursor data can be used by Artists to provid... | matplotlib._as_gen.matplotlib.artist.artist.get_cursor_data |
matplotlib.artist.Artist.get_figure Artist.get_figure()[source]
Return the Figure instance the artist belongs to. | matplotlib._as_gen.matplotlib.artist.artist.get_figure |
matplotlib.artist.Artist.get_gid Artist.get_gid()[source]
Return the group id. | matplotlib._as_gen.matplotlib.artist.artist.get_gid |
matplotlib.artist.Artist.get_in_layout Artist.get_in_layout()[source]
Return boolean flag, True if artist is included in layout calculations. E.g. Constrained Layout Guide, Figure.tight_layout(), and fig.savefig(fname, bbox_inches='tight'). | matplotlib._as_gen.matplotlib.artist.artist.get_in_layout |
matplotlib.artist.Artist.get_label Artist.get_label()[source]
Return the label used for this artist in the legend. | matplotlib._as_gen.matplotlib.artist.artist.get_label |
matplotlib.artist.Artist.get_path_effects Artist.get_path_effects()[source] | matplotlib._as_gen.matplotlib.artist.artist.get_path_effects |
matplotlib.artist.Artist.get_picker Artist.get_picker()[source]
Return the picking behavior of the artist. The possible values are described in set_picker. See also
set_picker, pickable, pick | matplotlib._as_gen.matplotlib.artist.artist.get_picker |
matplotlib.artist.Artist.get_rasterized Artist.get_rasterized()[source]
Return whether the artist is to be rasterized. | matplotlib._as_gen.matplotlib.artist.artist.get_rasterized |
matplotlib.artist.Artist.get_sketch_params Artist.get_sketch_params()[source]
Return the sketch parameters for the artist. Returns
tuple or None
A 3-tuple with the following elements:
scale: The amplitude of the wiggle perpendicular to the source line.
length: The length of the wiggle along the line.
random... | matplotlib._as_gen.matplotlib.artist.artist.get_sketch_params |
matplotlib.artist.Artist.get_snap Artist.get_snap()[source]
Return the snap setting. See set_snap for details. | matplotlib._as_gen.matplotlib.artist.artist.get_snap |
matplotlib.artist.Artist.get_transform Artist.get_transform()[source]
Return the Transform instance used by this artist. | matplotlib._as_gen.matplotlib.artist.artist.get_transform |
matplotlib.artist.Artist.get_transformed_clip_path_and_affine Artist.get_transformed_clip_path_and_affine()[source]
Return the clip path with the non-affine part of its transformation applied, and the remaining affine part of its transformation. | matplotlib._as_gen.matplotlib.artist.artist.get_transformed_clip_path_and_affine |
matplotlib.artist.Artist.get_url Artist.get_url()[source]
Return the url. | matplotlib._as_gen.matplotlib.artist.artist.get_url |
matplotlib.artist.Artist.get_visible Artist.get_visible()[source]
Return the visibility. | matplotlib._as_gen.matplotlib.artist.artist.get_visible |
matplotlib.artist.Artist.get_window_extent Artist.get_window_extent(renderer)[source]
Get the artist's bounding box in display space. The bounding box' width and height are nonnegative. Subclasses should override for inclusion in the bounding box "tight" calculation. Default is to return an empty bounding box at 0,... | matplotlib._as_gen.matplotlib.artist.artist.get_window_extent |
matplotlib.artist.Artist.get_zorder Artist.get_zorder()[source]
Return the artist's zorder. | matplotlib._as_gen.matplotlib.artist.artist.get_zorder |
matplotlib.artist.Artist.have_units Artist.have_units()[source]
Return whether units are set on any axis. | matplotlib._as_gen.matplotlib.artist.artist.have_units |
matplotlib.artist.Artist.is_transform_set Artist.is_transform_set()[source]
Return whether the Artist has an explicitly set transform. This is True after set_transform has been called. | matplotlib._as_gen.matplotlib.artist.artist.is_transform_set |
matplotlib.artist.Artist.mouseover propertyArtist.mouseover
If this property is set to True, the artist will be queried for custom context information when the mouse cursor moves over it. See also get_cursor_data(), ToolCursorPosition and NavigationToolbar2. | matplotlib._as_gen.matplotlib.artist.artist.mouseover |
matplotlib.artist.Artist.pchanged Artist.pchanged()[source]
Call all of the registered callbacks. This function is triggered internally when a property is changed. See also add_callback
remove_callback | matplotlib._as_gen.matplotlib.artist.artist.pchanged |
matplotlib.artist.Artist.pick Artist.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._as_gen.matplotlib.artist.artist.pick |
matplotlib.artist.Artist.pickable Artist.pickable()[source]
Return whether the artist is pickable. See also
set_picker, get_picker, pick | matplotlib._as_gen.matplotlib.artist.artist.pickable |
matplotlib.artist.Artist.properties Artist.properties()[source]
Return a dictionary of all the properties of the artist. | matplotlib._as_gen.matplotlib.artist.artist.properties |
matplotlib.artist.Artist.remove Artist.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 a... | matplotlib._as_gen.matplotlib.artist.artist.remove |
matplotlib.artist.Artist.remove_callback Artist.remove_callback(oid)[source]
Remove a callback based on its observer id. See also add_callback | matplotlib._as_gen.matplotlib.artist.artist.remove_callback |
matplotlib.artist.Artist.set Artist.set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, in_layout=<UNSET>, label=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, url=<UN... | matplotlib._as_gen.matplotlib.artist.artist.set |
matplotlib.artist.Artist.set_agg_filter Artist.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._as_gen.matplotlib.artist.artist.set_agg_filter |
matplotlib.artist.Artist.set_alpha Artist.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._as_gen.matplotlib.artist.artist.set_alpha |
matplotlib.artist.Artist.set_animated Artist.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 an... | matplotlib._as_gen.matplotlib.artist.artist.set_animated |
matplotlib.artist.Artist.set_clip_box Artist.set_clip_box(clipbox)[source]
Set the artist's clip Bbox. Parameters
clipboxBbox | matplotlib._as_gen.matplotlib.artist.artist.set_clip_box |
matplotlib.artist.Artist.set_clip_on Artist.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._as_gen.matplotlib.artist.artist.set_clip_on |
matplotlib.artist.Artist.set_clip_path Artist.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... | matplotlib._as_gen.matplotlib.artist.artist.set_clip_path |
matplotlib.artist.Artist.set_figure Artist.set_figure(fig)[source]
Set the Figure instance the artist belongs to. Parameters
figFigure | matplotlib._as_gen.matplotlib.artist.artist.set_figure |
matplotlib.artist.Artist.set_gid Artist.set_gid(gid)[source]
Set the (group) id for the artist. Parameters
gidstr | matplotlib._as_gen.matplotlib.artist.artist.set_gid |
matplotlib.artist.Artist.set_in_layout Artist.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._as_gen.matplotlib.artist.artist.set_in_layout |
matplotlib.artist.Artist.set_label Artist.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._as_gen.matplotlib.artist.artist.set_label |
matplotlib.artist.Artist.set_path_effects Artist.set_path_effects(path_effects)[source]
Set the path effects. Parameters
path_effectsAbstractPathEffect | matplotlib._as_gen.matplotlib.artist.artist.set_path_effects |
matplotlib.artist.Artist.set_picker Artist.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 a... | matplotlib._as_gen.matplotlib.artist.artist.set_picker |
matplotlib.artist.Artist.set_rasterized Artist.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.... | matplotlib._as_gen.matplotlib.artist.artist.set_rasterized |
matplotlib.artist.Artist.set_sketch_params Artist.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 ... | matplotlib._as_gen.matplotlib.artist.artist.set_sketch_params |
matplotlib.artist.Artist.set_snap Artist.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 val... | matplotlib._as_gen.matplotlib.artist.artist.set_snap |
matplotlib.artist.Artist.set_transform Artist.set_transform(t)[source]
Set the artist transform. Parameters
tTransform | matplotlib._as_gen.matplotlib.artist.artist.set_transform |
matplotlib.artist.Artist.set_url Artist.set_url(url)[source]
Set the url for the artist. Parameters
urlstr | matplotlib._as_gen.matplotlib.artist.artist.set_url |
matplotlib.artist.Artist.set_visible Artist.set_visible(b)[source]
Set the artist's visibility. Parameters
bbool | matplotlib._as_gen.matplotlib.artist.artist.set_visible |
matplotlib.artist.Artist.set_zorder Artist.set_zorder(level)[source]
Set the zorder for the artist. Artists with lower zorder values are drawn first. Parameters
levelfloat | matplotlib._as_gen.matplotlib.artist.artist.set_zorder |
matplotlib.artist.Artist.stale propertyArtist.stale
Whether the artist is 'stale' and needs to be re-drawn for the output to match the internal state of the artist. | matplotlib._as_gen.matplotlib.artist.artist.stale |
matplotlib.artist.Artist.sticky_edges propertyArtist.sticky_edges
x and y sticky edge lists for autoscaling. When performing autoscaling, if a data limit coincides with a value in the corresponding sticky_edges list, then no margin will be added--the view limit "sticks" to the edge. A typical use case is histograms... | matplotlib._as_gen.matplotlib.artist.artist.sticky_edges |
matplotlib.artist.Artist.update Artist.update(props)[source]
Update this artist's properties from the dict props. Parameters
propsdict | matplotlib._as_gen.matplotlib.artist.artist.update |
matplotlib.artist.Artist.update_from Artist.update_from(other)[source]
Copy properties from other to self. | matplotlib._as_gen.matplotlib.artist.artist.update_from |
matplotlib.artist.Artist.zorder Artist.zorder=0 | matplotlib._as_gen.matplotlib.artist.artist.zorder |
matplotlib.artist.ArtistInspector classmatplotlib.artist.ArtistInspector(o)[source]
A helper class to inspect an Artist and return information about its settable properties and their current values. Initialize the artist inspector with an Artist or an iterable of Artists. If an iterable is used, we assume it is a h... | matplotlib._as_gen.matplotlib.artist.artistinspector |
__init__(o)[source]
Initialize the artist inspector with an Artist or an iterable of Artists. If an iterable is used, we assume it is a homogeneous sequence (all Artists are of the same type) and it is your responsibility to make sure this is so. | matplotlib._as_gen.matplotlib.artist.artistinspector#matplotlib.artist.ArtistInspector.__init__ |
aliased_name(s)[source]
Return 'PROPNAME or alias' if s has an alias, else return 'PROPNAME'. e.g., for the line markerfacecolor property, which has an alias, return 'markerfacecolor or mfc' and for the transform property, which does not, return 'transform'. | matplotlib._as_gen.matplotlib.artist.artistinspector#matplotlib.artist.ArtistInspector.aliased_name |
aliased_name_rest(s, target)[source]
Return 'PROPNAME or alias' if s has an alias, else return 'PROPNAME', formatted for reST. e.g., for the line markerfacecolor property, which has an alias, return 'markerfacecolor or mfc' and for the transform property, which does not, return 'transform'. | matplotlib._as_gen.matplotlib.artist.artistinspector#matplotlib.artist.ArtistInspector.aliased_name_rest |
get_aliases()[source]
Get a dict mapping property fullnames to sets of aliases for each alias in the ArtistInspector. e.g., for lines: {'markerfacecolor': {'mfc'},
'linewidth' : {'lw'},
} | matplotlib._as_gen.matplotlib.artist.artistinspector#matplotlib.artist.ArtistInspector.get_aliases |
get_setters()[source]
Get the attribute strings with setters for object. For example, for a line, return ['markerfacecolor', 'linewidth',
....]. | matplotlib._as_gen.matplotlib.artist.artistinspector#matplotlib.artist.ArtistInspector.get_setters |
get_valid_values(attr)[source]
Get the legal arguments for the setter associated with attr. This is done by querying the docstring of the setter for a line that begins with "ACCEPTS:" or ".. ACCEPTS:", and then by looking for a numpydoc-style documentation for the setter's first argument. | matplotlib._as_gen.matplotlib.artist.artistinspector#matplotlib.artist.ArtistInspector.get_valid_values |
is_alias(o)[source]
Return whether method object o is an alias for another method. | matplotlib._as_gen.matplotlib.artist.artistinspector#matplotlib.artist.ArtistInspector.is_alias |
pprint_getters()[source]
Return the getters and actual values as list of strings. | matplotlib._as_gen.matplotlib.artist.artistinspector#matplotlib.artist.ArtistInspector.pprint_getters |
pprint_setters(prop=None, leadingspace=2)[source]
If prop is None, return a list of strings of all settable properties and their valid values. If prop is not None, it is a valid property name and that property will be returned as a string of property : valid values. | matplotlib._as_gen.matplotlib.artist.artistinspector#matplotlib.artist.ArtistInspector.pprint_setters |
pprint_setters_rest(prop=None, leadingspace=4)[source]
If prop is None, return a list of reST-formatted strings of all settable properties and their valid values. If prop is not None, it is a valid property name and that property will be returned as a string of "property : valid" values. | matplotlib._as_gen.matplotlib.artist.artistinspector#matplotlib.artist.ArtistInspector.pprint_setters_rest |
properties()[source]
Return a dictionary mapping property name -> value. | matplotlib._as_gen.matplotlib.artist.artistinspector#matplotlib.artist.ArtistInspector.properties |
matplotlib.artist.get matplotlib.artist.get(obj, property=None)[source]
Return the value of an Artist's property, or print all of them. Parameters
objArtist
The queried artist; e.g., a Line2D, a Text, or an Axes.
propertystr or None, default: None
If property is 'somename', this function returns obj.get_s... | matplotlib._as_gen.matplotlib.artist.get |
matplotlib.artist.getp matplotlib.artist.getp(obj, property=None)[source]
Return the value of an Artist's property, or print all of them. Parameters
objArtist
The queried artist; e.g., a Line2D, a Text, or an Axes.
propertystr or None, default: None
If property is 'somename', this function returns obj.get... | matplotlib._as_gen.matplotlib.artist.getp |
matplotlib.artist.kwdoc matplotlib.artist.kwdoc(artist)[source]
Inspect an Artist class (using ArtistInspector) and return information about its settable properties and their current values. Parameters
artistArtist or an iterable of Artists
Returns
str
The settable properties of artist, as plain text if r... | matplotlib._as_gen.matplotlib.artist.kwdoc |
matplotlib.artist.setp matplotlib.artist.setp(obj, *args, file=None, **kwargs)[source]
Set one or more properties on an Artist, or list allowed values. Parameters
objArtist or list of Artist
The artist(s) whose properties are being set or queried. When setting properties, all artists are affected; when queryi... | matplotlib._as_gen.matplotlib.artist.setp |
matplotlib.axes Table of Contents Inheritance The Axes class Subplots
Plotting Basic Spans Spectral Statistics Binned Contours 2D arrays Unstructured triangles Text and annotations Vector fields Clearing Appearance Property cycle
Axis / limits Axis limits and direction Axis labels, title, and legend Axis scales ... | matplotlib.axes_api |
classmatplotlib.axes.Axes(fig, rect, *, facecolor=None, frameon=True, sharex=None, sharey=None, label='', xscale=None, yscale=None, box_aspect=None, **kwargs)[source]
Bases: matplotlib.axes._base._AxesBase The Axes contains most of the figure elements: Axis, Tick, Line2D, Text, Polygon, etc., and sets the coordinate ... | matplotlib.axes_api#matplotlib.axes.Axes |
matplotlib.axes.Axes.acorr Axes.acorr(x, *, data=None, **kwargs)[source]
Plot the autocorrelation of x. Parameters
xarray-like
detrendcallable, default: mlab.detrend_none (no detrending)
A detrending function applied to x. It must have the signature detrend(x: np.ndarray) -> np.ndarray
normedbool, defaul... | matplotlib._as_gen.matplotlib.axes.axes.acorr |
matplotlib.axes.Axes.add_artist Axes.add_artist(a)[source]
Add an Artist to the Axes; return the artist. Use add_artist only for artists for which there is no dedicated "add" method; and if necessary, use a method such as update_datalim to manually update the dataLim if the artist is to be included in autoscaling. ... | matplotlib._as_gen.matplotlib.axes.axes.add_artist |
matplotlib.axes.Axes.add_callback Axes.add_callback(func)[source]
Add a callback function that will be called whenever one of the Artist's properties changes. Parameters
funccallable
The callback function. It must have the signature: def func(artist: Artist) -> Any
where artist is the calling Artist. Return ... | matplotlib._as_gen.matplotlib.axes.axes.add_callback |
matplotlib.axes.Axes.add_child_axes Axes.add_child_axes(ax)[source]
Add an AxesBase to the Axes' children; return the child Axes. This is the lowlevel version. See axes.Axes.inset_axes. | matplotlib._as_gen.matplotlib.axes.axes.add_child_axes |
matplotlib.axes.Axes.add_collection Axes.add_collection(collection, autolim=True)[source]
Add a Collection to the Axes; return the collection.
Examples using matplotlib.axes.Axes.add_collection
EventCollection Demo
Using span_where
Creating boxes from error bars using PatchCollection
Re... | matplotlib._as_gen.matplotlib.axes.axes.add_collection |
matplotlib.axes.Axes.add_container Axes.add_container(container)[source]
Add a Container to the axes' containers; return the container. | matplotlib._as_gen.matplotlib.axes.axes.add_container |
matplotlib.axes.Axes.add_image Axes.add_image(image)[source]
Add an AxesImage to the Axes; return the image.
Examples using matplotlib.axes.Axes.add_image
Image Nonuniform | matplotlib._as_gen.matplotlib.axes.axes.add_image |
matplotlib.axes.Axes.add_line Axes.add_line(line)[source]
Add a Line2D to the Axes; return the line.
Examples using matplotlib.axes.Axes.add_line
Artist within an artist
Reference for Matplotlib artists
Artist tests
Artist tutorial | matplotlib._as_gen.matplotlib.axes.axes.add_line |
matplotlib.axes.Axes.add_patch Axes.add_patch(p)[source]
Add a Patch to the Axes; return the patch.
Examples using matplotlib.axes.Axes.add_patch
Curve with error band
Image Demo
Axes box aspect
Controlling view limits using margins and sticky_edges
Boxplots
Plot a confide... | matplotlib._as_gen.matplotlib.axes.axes.add_patch |
matplotlib.axes.Axes.add_table Axes.add_table(tab)[source]
Add a Table to the Axes; return the table. | matplotlib._as_gen.matplotlib.axes.axes.add_table |
matplotlib.axes.Axes.angle_spectrum Axes.angle_spectrum(x, Fs=None, Fc=None, window=None, pad_to=None, sides=None, *, data=None, **kwargs)[source]
Plot the angle spectrum. Compute the angle spectrum (wrapped phase spectrum) of x. Data is padded to a length of pad_to and the windowing function window is applied to t... | matplotlib._as_gen.matplotlib.axes.axes.angle_spectrum |
matplotlib.axes.Axes.annotate Axes.annotate(text, xy, *args, **kwargs)[source]
Annotate the point xy with text text. In the simplest form, the text is placed at xy. Optionally, the text can be displayed in another position xytext. An arrow pointing from the text to the annotated point xy can then be added by defini... | matplotlib._as_gen.matplotlib.axes.axes.annotate |
matplotlib.axes.Axes.apply_aspect Axes.apply_aspect(position=None)[source]
Adjust the Axes for a specified data aspect ratio. Depending on get_adjustable this will modify either the Axes box (position) or the view limits. In the former case, get_anchor will affect the position. See also matplotlib.axes.Axes.set_a... | matplotlib._as_gen.matplotlib.axes.axes.apply_aspect |
matplotlib.axes.Axes.arrow Axes.arrow(x, y, dx, dy, **kwargs)[source]
Add an arrow to the Axes. This draws an arrow from (x, y) to (x+dx, y+dy). Parameters
x, yfloat
The x and y coordinates of the arrow base.
dx, dyfloat
The length of the arrow along x and y direction.
widthfloat, default: 0.001
Width... | matplotlib._as_gen.matplotlib.axes.axes.arrow |
matplotlib.axes.Axes.autoscale Axes.autoscale(enable=True, axis='both', tight=None)[source]
Autoscale the axis view to the data (toggle). Convenience method for simple axis view autoscaling. It turns autoscaling on or off, and then, if autoscaling for either axis is on, it performs the autoscaling on the specified ... | matplotlib._as_gen.matplotlib.axes.axes.autoscale |
matplotlib.axes.Axes.autoscale_view Axes.autoscale_view(tight=None, scalex=True, scaley=True)[source]
Autoscale the view limits using the data limits. Parameters
tightbool or None
If True, only expand the axis limits using the margins. Note that unlike for autoscale, tight=True does not set the margins to zer... | matplotlib._as_gen.matplotlib.axes.axes.autoscale_view |
matplotlib.axes.Axes.axhline Axes.axhline(y=0, xmin=0, xmax=1, **kwargs)[source]
Add a horizontal line across the axis. Parameters
yfloat, default: 0
y position in data coordinates of the horizontal line.
xminfloat, default: 0
Should be between 0 and 1, 0 being the far left of the plot, 1 the far right of... | matplotlib._as_gen.matplotlib.axes.axes.axhline |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.