doc_content
stringlengths
1
386k
doc_id
stringlengths
5
188
classThetaLocator(base)[source] Bases: matplotlib.ticker.Locator Used to locate theta ticks. This will work the same as the base locator except in the case that the view spans the entire circle. In such cases, the previously used default locations of every 45 degrees are returned. refresh()[source] set_axis(axi...
matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.ThetaLocator
refresh()[source]
matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.ThetaLocator.refresh
set_axis(axis)[source]
matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.ThetaLocator.set_axis
view_limits(vmin, vmax)[source] Select a scale for the range from vmin to vmax. Subclasses should override this method to change locator behaviour.
matplotlib.projections_api#matplotlib.projections.polar.PolarAxes.ThetaLocator.view_limits
classmatplotlib.projections.polar.PolarTransform(axis=None, use_rmin=True, _apply_theta_transforms=True)[source] Bases: matplotlib.transforms.Transform The base polar transform. This handles projection theta and r into Cartesian coordinate space x and y, but does not perform the ultimate affine transformation into th...
matplotlib.projections_api#matplotlib.projections.polar.PolarTransform
has_inverse=True True if this transform has a corresponding inverse transform.
matplotlib.projections_api#matplotlib.projections.polar.PolarTransform.has_inverse
input_dims=2 The number of input dimensions of this transform. Must be overridden (with integers) in the subclass.
matplotlib.projections_api#matplotlib.projections.polar.PolarTransform.input_dims
inverted()[source] Return the corresponding inverse transformation. It holds x == self.inverted().transform(self.transform(x)). The return value of this method should be treated as temporary. An update to self does not cause a corresponding update to its inverted copy.
matplotlib.projections_api#matplotlib.projections.polar.PolarTransform.inverted
output_dims=2 The number of output dimensions of this transform. Must be overridden (with integers) in the subclass.
matplotlib.projections_api#matplotlib.projections.polar.PolarTransform.output_dims
transform_non_affine(tr)[source] Apply only the non-affine part of this transformation. transform(values) is always equivalent to transform_affine(transform_non_affine(values)). In non-affine transformations, this is generally equivalent to transform(values). In affine transformations, this is always a no-op. Parame...
matplotlib.projections_api#matplotlib.projections.polar.PolarTransform.transform_non_affine
transform_path_non_affine(path)[source] Apply the non-affine part of this transform to Path path, returning a new Path. transform_path(path) is equivalent to transform_path_affine(transform_path_non_affine(values)).
matplotlib.projections_api#matplotlib.projections.polar.PolarTransform.transform_path_non_affine
classmatplotlib.projections.polar.RadialAxis(*args, **kwargs)[source] Bases: matplotlib.axis.YAxis A radial Axis. This overrides certain properties of a YAxis to provide special-casing for a radial axis. Parameters axesmatplotlib.axes.Axes The Axes to which the created Axis belongs. pickradiusfloat The acce...
matplotlib.projections_api#matplotlib.projections.polar.RadialAxis
axis_name='radius' Read-only name identifying the axis.
matplotlib.projections_api#matplotlib.projections.polar.RadialAxis.axis_name
cla()[source] [Deprecated] Notes Deprecated since version 3.4:
matplotlib.projections_api#matplotlib.projections.polar.RadialAxis.cla
clear()[source] Clear the axis. This resets axis properties to their default values: the label the scale locators, formatters and ticks major and minor grid units registered callbacks
matplotlib.projections_api#matplotlib.projections.polar.RadialAxis.clear
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, data_interval=<UNSET>, gid=<UNSET>, in_layout=<UNSET>, inverted=<UNSET>, label=<UNSET>, label_coords=<UNSET>, label_position=<UNSET>, label_text=<UNSET>, major_formatter=<UNSET>, major_locator=<UNSET>, mino...
matplotlib.projections_api#matplotlib.projections.polar.RadialAxis.set
classmatplotlib.projections.polar.RadialLocator(base, axes=None)[source] Bases: matplotlib.ticker.Locator Used to locate radius ticks. Ensures that all ticks are strictly positive. For all other tasks, it delegates to the base Locator (which may be different depending on the scale of the r-axis). nonsingular(vmin, ...
matplotlib.projections_api#matplotlib.projections.polar.RadialLocator
nonsingular(vmin, vmax)[source] Adjust a range as needed to avoid singularities. This method gets called during autoscaling, with (v0, v1) set to the data limits on the axes if the axes contains any data, or (-inf, +inf) if not. If v0 == v1 (possibly up to some floating point slop), this method returns an expanded i...
matplotlib.projections_api#matplotlib.projections.polar.RadialLocator.nonsingular
set_axis(axis)[source]
matplotlib.projections_api#matplotlib.projections.polar.RadialLocator.set_axis
view_limits(vmin, vmax)[source] Select a scale for the range from vmin to vmax. Subclasses should override this method to change locator behaviour.
matplotlib.projections_api#matplotlib.projections.polar.RadialLocator.view_limits
classmatplotlib.projections.polar.RadialTick(*args, **kwargs)[source] Bases: matplotlib.axis.YTick A radial-axis tick. This subclass of YTick provides radial ticks with some small modification to their re-positioning such that ticks are rotated based on axes limits. This results in ticks that are correctly perpendicu...
matplotlib.projections_api#matplotlib.projections.polar.RadialTick
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, in_layout=<UNSET>, label=<UNSET>, label1=<UNSET>, label2=<UNSET>, pad=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, ...
matplotlib.projections_api#matplotlib.projections.polar.RadialTick.set
update_position(loc)[source] Set the location of tick in data coords with scalar loc.
matplotlib.projections_api#matplotlib.projections.polar.RadialTick.update_position
classmatplotlib.projections.polar.ThetaAxis(*args, **kwargs)[source] Bases: matplotlib.axis.XAxis A theta Axis. This overrides certain properties of an XAxis to provide special-casing for an angular axis. Parameters axesmatplotlib.axes.Axes The Axes to which the created Axis belongs. pickradiusfloat The acc...
matplotlib.projections_api#matplotlib.projections.polar.ThetaAxis
axis_name='theta' Read-only name identifying the axis.
matplotlib.projections_api#matplotlib.projections.polar.ThetaAxis.axis_name
cla()[source] [Deprecated] Notes Deprecated since version 3.4:
matplotlib.projections_api#matplotlib.projections.polar.ThetaAxis.cla
clear()[source] Clear the axis. This resets axis properties to their default values: the label the scale locators, formatters and ticks major and minor grid units registered callbacks
matplotlib.projections_api#matplotlib.projections.polar.ThetaAxis.clear
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, data_interval=<UNSET>, gid=<UNSET>, in_layout=<UNSET>, inverted=<UNSET>, label=<UNSET>, label_coords=<UNSET>, label_position=<UNSET>, label_text=<UNSET>, major_formatter=<UNSET>, major_locator=<UNSET>, mino...
matplotlib.projections_api#matplotlib.projections.polar.ThetaAxis.set
classmatplotlib.projections.polar.ThetaFormatter[source] Bases: matplotlib.ticker.Formatter Used to format the theta tick labels. Converts the native unit of radians into degrees and adds a degree symbol.
matplotlib.projections_api#matplotlib.projections.polar.ThetaFormatter
classmatplotlib.projections.polar.ThetaLocator(base)[source] Bases: matplotlib.ticker.Locator Used to locate theta ticks. This will work the same as the base locator except in the case that the view spans the entire circle. In such cases, the previously used default locations of every 45 degrees are returned. refre...
matplotlib.projections_api#matplotlib.projections.polar.ThetaLocator
refresh()[source]
matplotlib.projections_api#matplotlib.projections.polar.ThetaLocator.refresh
set_axis(axis)[source]
matplotlib.projections_api#matplotlib.projections.polar.ThetaLocator.set_axis
view_limits(vmin, vmax)[source] Select a scale for the range from vmin to vmax. Subclasses should override this method to change locator behaviour.
matplotlib.projections_api#matplotlib.projections.polar.ThetaLocator.view_limits
classmatplotlib.projections.polar.ThetaTick(axes, *args, **kwargs)[source] Bases: matplotlib.axis.XTick A theta-axis tick. This subclass of XTick provides angular ticks with some small modification to their re-positioning such that ticks are rotated based on tick location. This results in ticks that are correctly per...
matplotlib.projections_api#matplotlib.projections.polar.ThetaTick
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, gid=<UNSET>, in_layout=<UNSET>, label=<UNSET>, label1=<UNSET>, label2=<UNSET>, pad=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, ...
matplotlib.projections_api#matplotlib.projections.polar.ThetaTick.set
update_position(loc)[source] Set the location of tick in data coords with scalar loc.
matplotlib.projections_api#matplotlib.projections.polar.ThetaTick.update_position
classmatplotlib.projections.ProjectionRegistry[source] Bases: object A mapping of registered projection names to projection classes. get_projection_class(name)[source] Get a projection class from its name. get_projection_names()[source] Return the names of all projections currently registered. register(...
matplotlib.projections_api#matplotlib.projections.ProjectionRegistry
get_projection_class(name)[source] Get a projection class from its name.
matplotlib.projections_api#matplotlib.projections.ProjectionRegistry.get_projection_class
get_projection_names()[source] Return the names of all projections currently registered.
matplotlib.projections_api#matplotlib.projections.ProjectionRegistry.get_projection_names
register(*projections)[source] Register a new set of projections.
matplotlib.projections_api#matplotlib.projections.ProjectionRegistry.register
matplotlib.projections.register_projection(cls)[source]
matplotlib.projections_api#matplotlib.projections.register_projection
matplotlib.pyplot matplotlib.pyplot is a state-based interface to matplotlib. It provides an implicit, MATLAB-like, way of plotting. It also opens figures on your screen, and acts as the figure GUI manager. pyplot is mainly intended for interactive plots and simple cases of programmatic plot generation: import numpy as...
matplotlib._as_gen.matplotlib.pyplot
matplotlib.pyplot Pyplot function overview pyplot matplotlib.pyplot is a state-based interface to matplotlib. matplotlib.pyplot.plotting()[source] Function Description acorr Plot the autocorrelation of x. angle_spectrum Plot the angle spectrum. annotate Annotate the point xy with text text. arrow A...
matplotlib.pyplot_summary
matplotlib.pyplot.acorr matplotlib.pyplot.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 normedbo...
matplotlib._as_gen.matplotlib.pyplot.acorr
matplotlib.pyplot.angle_spectrum matplotlib.pyplot.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 ap...
matplotlib._as_gen.matplotlib.pyplot.angle_spectrum
matplotlib.pyplot.annotate matplotlib.pyplot.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...
matplotlib._as_gen.matplotlib.pyplot.annotate
matplotlib.pyplot.arrow matplotlib.pyplot.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.0...
matplotlib._as_gen.matplotlib.pyplot.arrow
matplotlib.pyplot.autoscale matplotlib.pyplot.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 ...
matplotlib._as_gen.matplotlib.pyplot.autoscale
matplotlib.pyplot.autumn matplotlib.pyplot.autumn()[source] Set the colormap to 'autumn'. This changes the default colormap as well as the colormap of the current image if there is one. See help(colormaps) for more information.
matplotlib._as_gen.matplotlib.pyplot.autumn
matplotlib.pyplot.axes matplotlib.pyplot.axes(arg=None, **kwargs)[source] Add an axes to the current figure and make it the current axes. Call signatures: plt.axes() plt.axes(rect, projection=None, polar=False, **kwargs) plt.axes(ax) Parameters argNone or 4-tuple The exact behavior of this function depends o...
matplotlib._as_gen.matplotlib.pyplot.axes
matplotlib.pyplot.axhline matplotlib.pyplot.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 fa...
matplotlib._as_gen.matplotlib.pyplot.axhline
matplotlib.pyplot.axhspan matplotlib.pyplot.axhspan(ymin, ymax, xmin=0, xmax=1, **kwargs)[source] Add a horizontal span (rectangle) across the Axes. The rectangle spans from ymin to ymax vertically, and, by default, the whole x-axis horizontally. The x-span can be set using xmin (default: 0) and xmax (default: 1) w...
matplotlib._as_gen.matplotlib.pyplot.axhspan
matplotlib.pyplot.axis matplotlib.pyplot.axis(*args, emit=True, **kwargs)[source] Convenience method to get or set some axis properties. Call signatures: xmin, xmax, ymin, ymax = axis() xmin, xmax, ymin, ymax = axis([xmin, xmax, ymin, ymax]) xmin, xmax, ymin, ymax = axis(option) xmin, xmax, ymin, ymax = axis(**kwar...
matplotlib._as_gen.matplotlib.pyplot.axis
matplotlib.pyplot.axline matplotlib.pyplot.axline(xy1, xy2=None, *, slope=None, **kwargs)[source] Add an infinitely long straight line. The line can be defined either by two points xy1 and xy2, or by one point xy1 and a slope. This draws a straight line "on the screen", regardless of the x and y scales, and is thus...
matplotlib._as_gen.matplotlib.pyplot.axline
matplotlib.pyplot.axvline matplotlib.pyplot.axvline(x=0, ymin=0, ymax=1, **kwargs)[source] Add a vertical line across the Axes. Parameters xfloat, default: 0 x position in data coordinates of the vertical line. yminfloat, default: 0 Should be between 0 and 1, 0 being the bottom of the plot, 1 the top of t...
matplotlib._as_gen.matplotlib.pyplot.axvline
matplotlib.pyplot.axvspan matplotlib.pyplot.axvspan(xmin, xmax, ymin=0, ymax=1, **kwargs)[source] Add a vertical span (rectangle) across the Axes. The rectangle spans from xmin to xmax horizontally, and, by default, the whole y-axis vertically. The y-span can be set using ymin (default: 0) and ymax (default: 1) whi...
matplotlib._as_gen.matplotlib.pyplot.axvspan
matplotlib.pyplot.bar matplotlib.pyplot.bar(x, height, width=0.8, bottom=None, *, align='center', data=None, **kwargs)[source] Make a bar plot. The bars are positioned at x with the given alignment. Their dimensions are given by height and width. The vertical baseline is bottom (default 0). Many parameters can take...
matplotlib._as_gen.matplotlib.pyplot.bar
matplotlib.pyplot.bar_label matplotlib.pyplot.bar_label(container, labels=None, *, fmt='%g', label_type='edge', padding=0, **kwargs)[source] Label a bar plot. Adds labels to bars in the given BarContainer. You may need to adjust the axis limits to fit the labels. Parameters containerBarContainer Container wit...
matplotlib._as_gen.matplotlib.pyplot.bar_label
matplotlib.pyplot.barbs matplotlib.pyplot.barbs(*args, data=None, **kwargs)[source] Plot a 2D field of barbs. Call signature: barbs([X, Y], U, V, [C], **kw) Where X, Y define the barb locations, U, V define the barb directions, and C optionally sets the color. All arguments may be 1D or 2D. U, V, C may be masked a...
matplotlib._as_gen.matplotlib.pyplot.barbs
matplotlib.pyplot.barh matplotlib.pyplot.barh(y, width, height=0.8, left=None, *, align='center', **kwargs)[source] Make a horizontal bar plot. The bars are positioned at y with the given alignment. Their dimensions are given by width and height. The horizontal baseline is left (default 0). Many parameters can take...
matplotlib._as_gen.matplotlib.pyplot.barh
matplotlib.pyplot.bone matplotlib.pyplot.bone()[source] Set the colormap to 'bone'. This changes the default colormap as well as the colormap of the current image if there is one. See help(colormaps) for more information.
matplotlib._as_gen.matplotlib.pyplot.bone
matplotlib.pyplot.box matplotlib.pyplot.box(on=None)[source] Turn the axes box on or off on the current axes. Parameters onbool or None The new Axes box state. If None, toggle the state. See also matplotlib.axes.Axes.set_frame_on() matplotlib.axes.Axes.get_frame_on()
matplotlib._as_gen.matplotlib.pyplot.box
matplotlib.pyplot.boxplot matplotlib.pyplot.boxplot(x, notch=None, sym=None, vert=None, whis=None, positions=None, widths=None, patch_artist=None, bootstrap=None, usermedians=None, conf_intervals=None, meanline=None, showmeans=None, showcaps=None, showbox=None, showfliers=None, boxprops=None, labels=None, flierprops=...
matplotlib._as_gen.matplotlib.pyplot.boxplot
matplotlib.pyplot.broken_barh matplotlib.pyplot.broken_barh(xranges, yrange, *, data=None, **kwargs)[source] Plot a horizontal sequence of rectangles. A rectangle is drawn for each element of xranges. All rectangles have the same vertical position and size defined by yrange. This is a convenience function for insta...
matplotlib._as_gen.matplotlib.pyplot.broken_barh
matplotlib.pyplot.cla matplotlib.pyplot.cla()[source] Clear the current axes.
matplotlib._as_gen.matplotlib.pyplot.cla
matplotlib.pyplot.clabel matplotlib.pyplot.clabel(CS, levels=None, **kwargs)[source] Label a contour plot. Adds labels to line contours in given ContourSet. Parameters CSContourSet instance Line contours to label. levelsarray-like, optional A list of level values, that should be labeled. The list must be ...
matplotlib._as_gen.matplotlib.pyplot.clabel
matplotlib.pyplot.clf matplotlib.pyplot.clf()[source] Clear the current figure.
matplotlib._as_gen.matplotlib.pyplot.clf
matplotlib.pyplot.clim matplotlib.pyplot.clim(vmin=None, vmax=None)[source] Set the color limits of the current image. If either vmin or vmax is None, the image min/max respectively will be used for color scaling. If you want to set the clim of multiple images, use set_clim on every image, for example: for im in gc...
matplotlib._as_gen.matplotlib.pyplot.clim
matplotlib.pyplot.close matplotlib.pyplot.close(fig=None)[source] Close a figure window. Parameters figNone or int or str or Figure The figure to close. There are a number of ways to specify this: None: the current figure Figure: the given Figure instance int: a figure number str: a figure name 'all': al...
matplotlib._as_gen.matplotlib.pyplot.close
matplotlib.pyplot.cohere matplotlib.pyplot.cohere(x, y, NFFT=256, Fs=2, Fc=0, detrend=<function detrend_none>, window=<function window_hanning>, noverlap=0, pad_to=None, sides='default', scale_by_freq=None, *, data=None, **kwargs)[source] Plot the coherence between x and y. Plot the coherence between x and y. Coher...
matplotlib._as_gen.matplotlib.pyplot.cohere
matplotlib.pyplot.colorbar matplotlib.pyplot.colorbar(mappable=None, cax=None, ax=None, **kw)[source] Add a colorbar to a plot. Parameters mappable The matplotlib.cm.ScalarMappable (i.e., AxesImage, ContourSet, etc.) described by this colorbar. This argument is mandatory for the Figure.colorbar method but optio...
matplotlib._as_gen.matplotlib.pyplot.colorbar
matplotlib.pyplot.colormaps[source] Container for colormaps that are known to Matplotlib by name. Experimental While we expect the API to be final, we formally mark it as experimental for 3.5 because we want to keep the option to still adapt the API for 3.6 should the need arise. The universal registry instance is ...
matplotlib.pyplot_summary#matplotlib.pyplot.colormaps
matplotlib.pyplot.connect matplotlib.pyplot.connect(s, func)[source] Bind function func to event s. Parameters sstr One of the following events ids: 'button_press_event' 'button_release_event' 'draw_event' 'key_press_event' 'key_release_event' 'motion_notify_event' 'pick_event' 'resize_event' 'scroll_event' ...
matplotlib._as_gen.matplotlib.pyplot.connect
matplotlib.pyplot.contour matplotlib.pyplot.contour(*args, data=None, **kwargs)[source] Plot contour lines. Call signature: contour([X, Y,] Z, [levels], **kwargs) contour and contourf draw contour lines and filled contours, respectively. Except as noted, function signatures and return values are the same for both ...
matplotlib._as_gen.matplotlib.pyplot.contour
matplotlib.pyplot.contourf matplotlib.pyplot.contourf(*args, data=None, **kwargs)[source] Plot filled contours. Call signature: contourf([X, Y,] Z, [levels], **kwargs) contour and contourf draw contour lines and filled contours, respectively. Except as noted, function signatures and return values are the same for ...
matplotlib._as_gen.matplotlib.pyplot.contourf
matplotlib.pyplot.cool matplotlib.pyplot.cool()[source] Set the colormap to 'cool'. This changes the default colormap as well as the colormap of the current image if there is one. See help(colormaps) for more information.
matplotlib._as_gen.matplotlib.pyplot.cool
matplotlib.pyplot.copper matplotlib.pyplot.copper()[source] Set the colormap to 'copper'. This changes the default colormap as well as the colormap of the current image if there is one. See help(colormaps) for more information.
matplotlib._as_gen.matplotlib.pyplot.copper
matplotlib.pyplot.csd matplotlib.pyplot.csd(x, y, NFFT=None, Fs=None, Fc=None, detrend=None, window=None, noverlap=None, pad_to=None, sides=None, scale_by_freq=None, return_line=None, *, data=None, **kwargs)[source] Plot the cross-spectral density. The cross spectral density \(P_{xy}\) by Welch's average periodogra...
matplotlib._as_gen.matplotlib.pyplot.csd
matplotlib.pyplot.delaxes matplotlib.pyplot.delaxes(ax=None)[source] Remove an Axes (defaulting to the current axes) from its figure.
matplotlib._as_gen.matplotlib.pyplot.delaxes
matplotlib.pyplot.disconnect matplotlib.pyplot.disconnect(cid)[source] Disconnect the callback with id cid. Examples cid = canvas.mpl_connect('button_press_event', on_press) # ... later canvas.mpl_disconnect(cid) Examples using matplotlib.pyplot.disconnect Mouse move and click events
matplotlib._as_gen.matplotlib.pyplot.disconnect
matplotlib.pyplot.draw matplotlib.pyplot.draw()[source] Redraw the current figure. This is used to update a figure that has been altered, but not automatically re-drawn. If interactive mode is on (via ion()), this should be only rarely needed, but there may be ways to modify the state of a figure without marking it...
matplotlib._as_gen.matplotlib.pyplot.draw
matplotlib.pyplot.draw_if_interactive matplotlib.pyplot.draw_if_interactive()[source] Redraw the current figure if in interactive mode. Warning End users will typically not have to call this function because the the interactive mode takes care of this.
matplotlib._as_gen.matplotlib.pyplot.draw_if_interactive
matplotlib.pyplot.errorbar matplotlib.pyplot.errorbar(x, y, yerr=None, xerr=None, fmt='', ecolor=None, elinewidth=None, capsize=None, barsabove=False, lolims=False, uplims=False, xlolims=False, xuplims=False, errorevery=1, capthick=None, *, data=None, **kwargs)[source] Plot y versus x as lines and/or markers with a...
matplotlib._as_gen.matplotlib.pyplot.errorbar
matplotlib.pyplot.eventplot matplotlib.pyplot.eventplot(positions, orientation='horizontal', lineoffsets=1, linelengths=1, linewidths=None, colors=None, linestyles='solid', *, data=None, **kwargs)[source] Plot identical parallel lines at the given positions. This type of plot is commonly used in neuroscience for re...
matplotlib._as_gen.matplotlib.pyplot.eventplot
matplotlib.pyplot.figimage matplotlib.pyplot.figimage(X, xo=0, yo=0, alpha=None, norm=None, cmap=None, vmin=None, vmax=None, origin=None, resize=False, **kwargs)[source] Add a non-resampled image to the figure. The image is attached to the lower or upper left corner depending on origin. Parameters X The image d...
matplotlib._as_gen.matplotlib.pyplot.figimage
matplotlib.pyplot.figlegend matplotlib.pyplot.figlegend(*args, **kwargs)[source] Place a legend on the figure. Call signatures: figlegend() figlegend(handles, labels) figlegend(handles=handles) figlegend(labels) The call signatures correspond to the following different ways to use this method: 1. Automatic detecti...
matplotlib._as_gen.matplotlib.pyplot.figlegend
matplotlib.pyplot.fignum_exists matplotlib.pyplot.fignum_exists(num)[source] Return whether the figure with the given id exists.
matplotlib._as_gen.matplotlib.pyplot.fignum_exists
matplotlib.pyplot.figtext matplotlib.pyplot.figtext(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 tex...
matplotlib._as_gen.matplotlib.pyplot.figtext
matplotlib.pyplot.figure matplotlib.pyplot.figure(num=None, figsize=None, dpi=None, facecolor=None, edgecolor=None, frameon=True, FigureClass=<class 'matplotlib.figure.Figure'>, clear=False, **kwargs)[source] Create a new figure, or activate an existing figure. Parameters numint or str or Figure, optional A u...
matplotlib._as_gen.matplotlib.pyplot.figure
matplotlib.pyplot.fill matplotlib.pyplot.fill(*args, data=None, **kwargs)[source] Plot filled polygons. Parameters *argssequence of x, y, [color] Each polygon is defined by the lists of x and y positions of its nodes, optionally followed by a color specifier. See matplotlib.colors for supported color specifie...
matplotlib._as_gen.matplotlib.pyplot.fill
matplotlib.pyplot.fill_between matplotlib.pyplot.fill_between(x, y1, y2=0, where=None, interpolate=False, step=None, *, data=None, **kwargs)[source] Fill the area between two horizontal curves. The curves are defined by the points (x, y1) and (x, y2). This creates one or multiple polygons describing the filled area...
matplotlib._as_gen.matplotlib.pyplot.fill_between
matplotlib.pyplot.fill_betweenx matplotlib.pyplot.fill_betweenx(y, x1, x2=0, where=None, step=None, interpolate=False, *, data=None, **kwargs)[source] Fill the area between two vertical curves. The curves are defined by the points (y, x1) and (y, x2). This creates one or multiple polygons describing the filled area...
matplotlib._as_gen.matplotlib.pyplot.fill_betweenx
matplotlib.pyplot.findobj matplotlib.pyplot.findobj(o=None, 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 ...
matplotlib._as_gen.matplotlib.pyplot.findobj
matplotlib.pyplot.flag matplotlib.pyplot.flag()[source] Set the colormap to 'flag'. This changes the default colormap as well as the colormap of the current image if there is one. See help(colormaps) for more information.
matplotlib._as_gen.matplotlib.pyplot.flag
matplotlib.pyplot.gca matplotlib.pyplot.gca(**kwargs)[source] Get the current Axes. If there is currently no Axes on this Figure, a new one is created using Figure.add_subplot. (To test whether there is currently an Axes on a Figure, check whether figure.axes is empty. To test whether there is currently a Figure on...
matplotlib._as_gen.matplotlib.pyplot.gca
matplotlib.pyplot.gcf matplotlib.pyplot.gcf()[source] Get the current figure. If there is currently no figure on the pyplot figure stack, a new one is created using figure(). (To test whether there is currently a figure on the pyplot figure stack, check whether get_fignums() is empty.)
matplotlib._as_gen.matplotlib.pyplot.gcf
matplotlib.pyplot.gci matplotlib.pyplot.gci()[source] Get the current colorable artist. Specifically, returns the current ScalarMappable instance (Image created by imshow or figimage, Collection created by pcolor or scatter, etc.), or None if no such instance has been defined. The current image is an attribute of t...
matplotlib._as_gen.matplotlib.pyplot.gci
matplotlib.pyplot.get matplotlib.pyplot.get(obj, *args, **kwargs)[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.pyplot.get
matplotlib.pyplot.get_current_fig_manager matplotlib.pyplot.get_current_fig_manager()[source] Return the figure manager of the current figure. The figure manager is a container for the actual backend-depended window that displays the figure on screen. If no current figure exists, a new one is created, and its figur...
matplotlib._as_gen.matplotlib.pyplot.get_current_fig_manager
matplotlib.pyplot.get_figlabels matplotlib.pyplot.get_figlabels()[source] Return a list of existing figure labels.
matplotlib._as_gen.matplotlib.pyplot.get_figlabels