doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
matplotlib.axes.Axes.axhspan Axes.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) which are i... | matplotlib._as_gen.matplotlib.axes.axes.axhspan |
matplotlib.axes.Axes.axis Axes.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(**kwargs)
Para... | matplotlib._as_gen.matplotlib.axes.axes.axis |
matplotlib.axes.Axes.axline Axes.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 also suit... | matplotlib._as_gen.matplotlib.axes.axes.axline |
matplotlib.axes.Axes.axvline Axes.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 the plot. ... | matplotlib._as_gen.matplotlib.axes.axes.axvline |
matplotlib.axes.Axes.axvspan Axes.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) which are in ... | matplotlib._as_gen.matplotlib.axes.axes.axvspan |
matplotlib.axes.Axes.bar Axes.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 either a ... | matplotlib._as_gen.matplotlib.axes.axes.bar |
matplotlib.axes.Axes.bar_label Axes.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 with all the ... | matplotlib._as_gen.matplotlib.axes.axes.bar_label |
matplotlib.axes.Axes.barbs Axes.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 arrays, but... | matplotlib._as_gen.matplotlib.axes.axes.barbs |
matplotlib.axes.Axes.barh Axes.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 either a ... | matplotlib._as_gen.matplotlib.axes.axes.barh |
matplotlib.axes.Axes.boxplot Axes.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=None, medi... | matplotlib._as_gen.matplotlib.axes.axes.boxplot |
matplotlib.axes.Axes.broken_barh Axes.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 instantiating a... | matplotlib._as_gen.matplotlib.axes.axes.broken_barh |
matplotlib.axes.Axes.bxp Axes.bxp(bxpstats, positions=None, widths=None, vert=True, patch_artist=False, shownotches=False, showmeans=False, showcaps=True, showbox=True, showfliers=True, boxprops=None, whiskerprops=None, flierprops=None, medianprops=None, capprops=None, meanprops=None, meanline=False, manage_ticks=Tru... | matplotlib._as_gen.matplotlib.axes.axes.bxp |
matplotlib.axes.Axes.can_pan Axes.can_pan()[source]
Return whether this Axes supports any pan/zoom button functionality. | matplotlib._as_gen.matplotlib.axes.axes.can_pan |
matplotlib.axes.Axes.can_zoom Axes.can_zoom()[source]
Return whether this Axes supports the zoom box button functionality. | matplotlib._as_gen.matplotlib.axes.axes.can_zoom |
matplotlib.axes.Axes.cla Axes.cla()[source]
Clear the Axes.
Examples using matplotlib.axes.Axes.cla
pyplot animation
Data Browser | matplotlib._as_gen.matplotlib.axes.axes.cla |
matplotlib.axes.Axes.clabel Axes.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 a subset o... | matplotlib._as_gen.matplotlib.axes.axes.clabel |
matplotlib.axes.Axes.clear Axes.clear()[source]
Clear the Axes. | matplotlib._as_gen.matplotlib.axes.axes.clear |
matplotlib.axes.Axes.cohere Axes.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. Coherence is th... | matplotlib._as_gen.matplotlib.axes.axes.cohere |
matplotlib.axes.Axes.contains Axes.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 event ... | matplotlib._as_gen.matplotlib.axes.axes.contains |
matplotlib.axes.Axes.contains_point Axes.contains_point(point)[source]
Return whether point (pair of pixel coordinates) is inside the axes patch. | matplotlib._as_gen.matplotlib.axes.axes.contains_point |
matplotlib.axes.Axes.contour Axes.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 versions. ... | matplotlib._as_gen.matplotlib.axes.axes.contour |
matplotlib.axes.Axes.contourf Axes.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 both versi... | matplotlib._as_gen.matplotlib.axes.axes.contourf |
matplotlib.axes.Axes.convert_xunits Axes.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.axes.axes.convert_xunits |
matplotlib.axes.Axes.convert_yunits Axes.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.axes.axes.convert_yunits |
matplotlib.axes.Axes.csd Axes.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 periodogram method. ... | matplotlib._as_gen.matplotlib.axes.axes.csd |
matplotlib.axes.Axes.drag_pan Axes.drag_pan(button, key, x, y)[source]
Called when the mouse moves during a pan operation. Parameters
buttonMouseButton
The pressed mouse button.
keystr or None
The pressed key, if any.
x, yfloat
The mouse coordinates in display coords. Notes This is intended to be ... | matplotlib._as_gen.matplotlib.axes.axes.drag_pan |
matplotlib.axes.Axes.draw Axes.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.axes.axes.draw |
matplotlib.axes.Axes.draw_artist Axes.draw_artist(a)[source]
Efficiently redraw a single artist. This method can only be used after an initial draw of the figure, because that creates and caches the renderer needed here.
Examples using matplotlib.axes.Axes.draw_artist
Faster rendering by using blitting | matplotlib._as_gen.matplotlib.axes.axes.draw_artist |
matplotlib.axes.Axes.end_pan Axes.end_pan()[source]
Called when a pan operation completes (when the mouse button is up.) Notes This is intended to be overridden by new projection types. | matplotlib._as_gen.matplotlib.axes.axes.end_pan |
matplotlib.axes.Axes.errorbar Axes.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 attached er... | matplotlib._as_gen.matplotlib.axes.axes.errorbar |
matplotlib.axes.Axes.eventplot Axes.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 representing... | matplotlib._as_gen.matplotlib.axes.axes.eventplot |
matplotlib.axes.Axes.fill Axes.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 specifiers. The st... | matplotlib._as_gen.matplotlib.axes.axes.fill |
matplotlib.axes.Axes.fill_between Axes.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. You may ... | matplotlib._as_gen.matplotlib.axes.axes.fill_between |
matplotlib.axes.Axes.fill_betweenx Axes.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. You may ... | matplotlib._as_gen.matplotlib.axes.axes.fill_betweenx |
matplotlib.axes.Axes.findobj Axes.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 def matc... | matplotlib._as_gen.matplotlib.axes.axes.findobj |
matplotlib.axes.Axes.format_coord Axes.format_coord(x, y)[source]
Return a format string formatting the x, y coordinates. | matplotlib._as_gen.matplotlib.axes.axes.format_coord |
matplotlib.axes.Axes.format_cursor_data Axes.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 and fl... | matplotlib._as_gen.matplotlib.axes.axes.format_cursor_data |
matplotlib.axes.Axes.format_xdata Axes.format_xdata(x)[source]
Return x formatted as an x-value. This function will use the fmt_xdata attribute if it is not None, else will fall back on the xaxis major formatter. | matplotlib._as_gen.matplotlib.axes.axes.format_xdata |
matplotlib.axes.Axes.format_ydata Axes.format_ydata(y)[source]
Return y formatted as an y-value. This function will use the fmt_ydata attribute if it is not None, else will fall back on the yaxis major formatter. | matplotlib._as_gen.matplotlib.axes.axes.format_ydata |
matplotlib.axes.Axes.get_adjustable Axes.get_adjustable()[source]
Return whether the Axes will adjust its physical dimension ('box') or its data limits ('datalim') to achieve the desired aspect ratio. See also matplotlib.axes.Axes.set_adjustable
Set how the Axes adjusts to achieve the required aspect ratio. mat... | matplotlib._as_gen.matplotlib.axes.axes.get_adjustable |
matplotlib.axes.Axes.get_anchor Axes.get_anchor()[source]
Get the anchor location. See also matplotlib.axes.Axes.set_anchor
for a description of the anchor. matplotlib.axes.Axes.set_aspect
for a description of aspect handling. | matplotlib._as_gen.matplotlib.axes.axes.get_anchor |
matplotlib.axes.Axes.get_aspect Axes.get_aspect()[source]
Return the aspect ratio of the axes scaling. This is either "auto" or a float giving the ratio of y/x-scale. | matplotlib._as_gen.matplotlib.axes.axes.get_aspect |
matplotlib.axes.Axes.get_autoscale_on Axes.get_autoscale_on()[source]
Return True if each axis is autoscaled, False otherwise. | matplotlib._as_gen.matplotlib.axes.axes.get_autoscale_on |
matplotlib.axes.Axes.get_autoscalex_on Axes.get_autoscalex_on()[source]
Return whether the x-axis is autoscaled. | matplotlib._as_gen.matplotlib.axes.axes.get_autoscalex_on |
matplotlib.axes.Axes.get_autoscaley_on Axes.get_autoscaley_on()[source]
Return whether the y-axis is autoscaled. | matplotlib._as_gen.matplotlib.axes.axes.get_autoscaley_on |
matplotlib.axes.Axes.get_axes_locator Axes.get_axes_locator()[source]
Return the axes_locator. | matplotlib._as_gen.matplotlib.axes.axes.get_axes_locator |
matplotlib.axes.Axes.get_axisbelow Axes.get_axisbelow()[source]
Get whether axis ticks and gridlines are above or below most artists. Returns
bool or 'line'
See also set_axisbelow | matplotlib._as_gen.matplotlib.axes.axes.get_axisbelow |
matplotlib.axes.Axes.get_box_aspect Axes.get_box_aspect()[source]
Return the Axes box aspect, i.e. the ratio of height to width. The box aspect is None (i.e. chosen depending on the available figure space) unless explicitly specified. See also matplotlib.axes.Axes.set_box_aspect
for a description of box aspect. ... | matplotlib._as_gen.matplotlib.axes.axes.get_box_aspect |
matplotlib.axes.Axes.get_children Axes.get_children()[source]
Return a list of the child Artists of this Artist. | matplotlib._as_gen.matplotlib.axes.axes.get_children |
matplotlib.axes.Axes.get_cursor_data Axes.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 provide addi... | matplotlib._as_gen.matplotlib.axes.axes.get_cursor_data |
matplotlib.axes.Axes.get_data_ratio Axes.get_data_ratio()[source]
Return the aspect ratio of the scaled data. Notes This method is intended to be overridden by new projection types. | matplotlib._as_gen.matplotlib.axes.axes.get_data_ratio |
matplotlib.axes.Axes.get_default_bbox_extra_artists Axes.get_default_bbox_extra_artists()[source]
Return a default list of artists that are used for the bounding box calculation. Artists are excluded either by not being visible or artist.set_in_layout(False). | matplotlib._as_gen.matplotlib.axes.axes.get_default_bbox_extra_artists |
matplotlib.axes.Axes.get_facecolor Axes.get_facecolor()[source]
Get the facecolor of the Axes. | matplotlib._as_gen.matplotlib.axes.axes.get_facecolor |
matplotlib.axes.Axes.get_frame_on Axes.get_frame_on()[source]
Get whether the Axes rectangle patch is drawn. | matplotlib._as_gen.matplotlib.axes.axes.get_frame_on |
matplotlib.axes.Axes.get_images Axes.get_images()[source]
Return a list of AxesImages contained by the Axes. | matplotlib._as_gen.matplotlib.axes.axes.get_images |
matplotlib.axes.Axes.get_legend Axes.get_legend()[source]
Return the Legend instance, or None if no legend is defined. | matplotlib._as_gen.matplotlib.axes.axes.get_legend |
matplotlib.axes.Axes.get_legend_handles_labels Axes.get_legend_handles_labels(legend_handler_map=None)[source]
Return handles and labels for legend ax.legend() is equivalent to h, l = ax.get_legend_handles_labels()
ax.legend(h, l)
Examples using matplotlib.axes.Axes.get_legend_handles_labels
Legend guide | matplotlib._as_gen.matplotlib.axes.axes.get_legend_handles_labels |
matplotlib.axes.Axes.get_lines Axes.get_lines()[source]
Return a list of lines contained by the Axes. | matplotlib._as_gen.matplotlib.axes.axes.get_lines |
matplotlib.axes.Axes.get_navigate Axes.get_navigate()[source]
Get whether the Axes responds to navigation commands. | matplotlib._as_gen.matplotlib.axes.axes.get_navigate |
matplotlib.axes.Axes.get_navigate_mode Axes.get_navigate_mode()[source]
Get the navigation toolbar button status: 'PAN', 'ZOOM', or None. | matplotlib._as_gen.matplotlib.axes.axes.get_navigate_mode |
matplotlib.axes.Axes.get_position Axes.get_position(original=False)[source]
Return the position of the Axes within the figure as a Bbox. Parameters
originalbool
If True, return the original position. Otherwise return the active position. For an explanation of the positions see set_position. Returns
Bbox
... | matplotlib._as_gen.matplotlib.axes.axes.get_position |
matplotlib.axes.Axes.get_rasterization_zorder Axes.get_rasterization_zorder()[source]
Return the zorder value below which artists will be rasterized. | matplotlib._as_gen.matplotlib.axes.axes.get_rasterization_zorder |
matplotlib.axes.Axes.get_renderer_cache Axes.get_renderer_cache()[source] | matplotlib._as_gen.matplotlib.axes.axes.get_renderer_cache |
matplotlib.axes.Axes.get_shared_x_axes Axes.get_shared_x_axes()[source]
Return a reference to the shared axes Grouper object for x axes. | matplotlib._as_gen.matplotlib.axes.axes.get_shared_x_axes |
matplotlib.axes.Axes.get_shared_y_axes Axes.get_shared_y_axes()[source]
Return a reference to the shared axes Grouper object for y axes. | matplotlib._as_gen.matplotlib.axes.axes.get_shared_y_axes |
matplotlib.axes.Axes.get_tightbbox Axes.get_tightbbox(renderer, call_axes_locator=True, bbox_extra_artists=None, *, for_layout_only=False)[source]
Return the tight bounding box of the axes, including axis and their decorators (xlabel, title, etc). Artists that have artist.set_in_layout(False) are not included in th... | matplotlib._as_gen.matplotlib.axes.axes.get_tightbbox |
matplotlib.axes.Axes.get_title Axes.get_title(loc='center')[source]
Get an Axes title. Get one of the three available Axes titles. The available titles are positioned above the Axes in the center, flush with the left edge, and flush with the right edge. Parameters
loc{'center', 'left', 'right'}, str, default: '... | matplotlib._as_gen.matplotlib.axes.axes.get_title |
matplotlib.axes.Axes.get_transformed_clip_path_and_affine Axes.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.axes.axes.get_transformed_clip_path_and_affine |
matplotlib.axes.Axes.get_window_extent Axes.get_window_extent(*args, **kwargs)[source]
Return the Axes bounding box in display space; args and kwargs are empty. This bounding box does not include the spines, ticks, ticklables, or other labels. For a bounding box including these elements use get_tightbbox. See also... | matplotlib._as_gen.matplotlib.axes.axes.get_window_extent |
matplotlib.axes.Axes.get_xaxis Axes.get_xaxis()[source]
Return the XAxis instance. The use of this function is discouraged. You should instead directly access the attribute ax.xaxis. | matplotlib._as_gen.matplotlib.axes.axes.get_xaxis |
matplotlib.axes.Axes.get_xaxis_text1_transform Axes.get_xaxis_text1_transform(pad_points)[source]
Returns
transformTransform
The transform used for drawing x-axis labels, which will add pad_points of padding (in points) between the axis and the label. The x-direction is in data coordinates and the y-direction... | matplotlib._as_gen.matplotlib.axes.axes.get_xaxis_text1_transform |
matplotlib.axes.Axes.get_xaxis_text2_transform Axes.get_xaxis_text2_transform(pad_points)[source]
Returns
transformTransform
The transform used for drawing secondary x-axis labels, which will add pad_points of padding (in points) between the axis and the label. The x-direction is in data coordinates and the y... | matplotlib._as_gen.matplotlib.axes.axes.get_xaxis_text2_transform |
matplotlib.axes.Axes.get_xaxis_transform Axes.get_xaxis_transform(which='grid')[source]
Get the transformation used for drawing x-axis labels, ticks and gridlines. The x-direction is in data coordinates and the y-direction is in axis coordinates. Note This transformation is primarily used by the Axis class, and is... | matplotlib._as_gen.matplotlib.axes.axes.get_xaxis_transform |
matplotlib.axes.Axes.get_xbound Axes.get_xbound()[source]
Return the lower and upper x-axis bounds, in increasing order. See also set_xbound
get_xlim, set_xlim
invert_xaxis, xaxis_inverted | matplotlib._as_gen.matplotlib.axes.axes.get_xbound |
matplotlib.axes.Axes.get_xgridlines Axes.get_xgridlines()[source]
Return the xaxis' grid lines as a list of Line2Ds. | matplotlib._as_gen.matplotlib.axes.axes.get_xgridlines |
matplotlib.axes.Axes.get_xlabel Axes.get_xlabel()[source]
Get the xlabel text string. | matplotlib._as_gen.matplotlib.axes.axes.get_xlabel |
matplotlib.axes.Axes.get_xlim Axes.get_xlim()[source]
Return the x-axis view limits. Returns
left, right(float, float)
The current x-axis limits in data coordinates. See also set_xlim
set_xbound, get_xbound
invert_xaxis, xaxis_inverted
Notes The x-axis may be inverted, in which case the left value... | matplotlib._as_gen.matplotlib.axes.axes.get_xlim |
matplotlib.axes.Axes.get_xmajorticklabels Axes.get_xmajorticklabels()[source]
Return the xaxis' major tick labels, as a list of Text. | matplotlib._as_gen.matplotlib.axes.axes.get_xmajorticklabels |
matplotlib.axes.Axes.get_xminorticklabels Axes.get_xminorticklabels()[source]
Return the xaxis' minor tick labels, as a list of Text. | matplotlib._as_gen.matplotlib.axes.axes.get_xminorticklabels |
matplotlib.axes.Axes.get_xscale Axes.get_xscale()[source]
Return the xaxis' scale (as a str). | matplotlib._as_gen.matplotlib.axes.axes.get_xscale |
matplotlib.axes.Axes.get_xticklabels Axes.get_xticklabels(minor=False, which=None)[source]
Get the xaxis' tick labels. Parameters
minorbool
Whether to return the minor or the major ticklabels.
whichNone, ('minor', 'major', 'both')
Overrides minor. Selects which ticklabels to return Returns
list of Te... | matplotlib._as_gen.matplotlib.axes.axes.get_xticklabels |
matplotlib.axes.Axes.get_xticklines Axes.get_xticklines(minor=False)[source]
Return the xaxis' tick lines as a list of Line2Ds. | matplotlib._as_gen.matplotlib.axes.axes.get_xticklines |
matplotlib.axes.Axes.get_xticks Axes.get_xticks(*, minor=False)[source]
Return the xaxis' tick locations in data coordinates. | matplotlib._as_gen.matplotlib.axes.axes.get_xticks |
matplotlib.axes.Axes.get_yaxis Axes.get_yaxis()[source]
Return the YAxis instance. The use of this function is discouraged. You should instead directly access the attribute ax.yaxis. | matplotlib._as_gen.matplotlib.axes.axes.get_yaxis |
matplotlib.axes.Axes.get_yaxis_text1_transform Axes.get_yaxis_text1_transform(pad_points)[source]
Returns
transformTransform
The transform used for drawing y-axis labels, which will add pad_points of padding (in points) between the axis and the label. The x-direction is in axis coordinates and the y-direction... | matplotlib._as_gen.matplotlib.axes.axes.get_yaxis_text1_transform |
matplotlib.axes.Axes.get_yaxis_text2_transform Axes.get_yaxis_text2_transform(pad_points)[source]
Returns
transformTransform
The transform used for drawing secondart y-axis labels, which will add pad_points of padding (in points) between the axis and the label. The x-direction is in axis coordinates and the y... | matplotlib._as_gen.matplotlib.axes.axes.get_yaxis_text2_transform |
matplotlib.axes.Axes.get_yaxis_transform Axes.get_yaxis_transform(which='grid')[source]
Get the transformation used for drawing y-axis labels, ticks and gridlines. The x-direction is in axis coordinates and the y-direction is in data coordinates. Note This transformation is primarily used by the Axis class, and is... | matplotlib._as_gen.matplotlib.axes.axes.get_yaxis_transform |
matplotlib.axes.Axes.get_ybound Axes.get_ybound()[source]
Return the lower and upper y-axis bounds, in increasing order. See also set_ybound
get_ylim, set_ylim
invert_yaxis, yaxis_inverted | matplotlib._as_gen.matplotlib.axes.axes.get_ybound |
matplotlib.axes.Axes.get_ygridlines Axes.get_ygridlines()[source]
Return the yaxis' grid lines as a list of Line2Ds. | matplotlib._as_gen.matplotlib.axes.axes.get_ygridlines |
matplotlib.axes.Axes.get_ylabel Axes.get_ylabel()[source]
Get the ylabel text string. | matplotlib._as_gen.matplotlib.axes.axes.get_ylabel |
matplotlib.axes.Axes.get_ylim Axes.get_ylim()[source]
Return the y-axis view limits. Returns
bottom, top(float, float)
The current y-axis limits in data coordinates. See also set_ylim
set_ybound, get_ybound
invert_yaxis, yaxis_inverted
Notes The y-axis may be inverted, in which case the bottom val... | matplotlib._as_gen.matplotlib.axes.axes.get_ylim |
matplotlib.axes.Axes.get_ymajorticklabels Axes.get_ymajorticklabels()[source]
Return the yaxis' major tick labels, as a list of Text. | matplotlib._as_gen.matplotlib.axes.axes.get_ymajorticklabels |
matplotlib.axes.Axes.get_yminorticklabels Axes.get_yminorticklabels()[source]
Return the yaxis' minor tick labels, as a list of Text. | matplotlib._as_gen.matplotlib.axes.axes.get_yminorticklabels |
matplotlib.axes.Axes.get_yscale Axes.get_yscale()[source]
Return the yaxis' scale (as a str). | matplotlib._as_gen.matplotlib.axes.axes.get_yscale |
matplotlib.axes.Axes.get_yticklabels Axes.get_yticklabels(minor=False, which=None)[source]
Get the yaxis' tick labels. Parameters
minorbool
Whether to return the minor or the major ticklabels.
whichNone, ('minor', 'major', 'both')
Overrides minor. Selects which ticklabels to return Returns
list of Te... | matplotlib._as_gen.matplotlib.axes.axes.get_yticklabels |
matplotlib.axes.Axes.get_yticklines Axes.get_yticklines(minor=False)[source]
Return the yaxis' tick lines as a list of Line2Ds. | matplotlib._as_gen.matplotlib.axes.axes.get_yticklines |
matplotlib.axes.Axes.get_yticks Axes.get_yticks(*, minor=False)[source]
Return the yaxis' tick locations in data coordinates. | matplotlib._as_gen.matplotlib.axes.axes.get_yticks |
matplotlib.axes.Axes.grid Axes.grid(visible=None, which='major', axis='both', **kwargs)[source]
Configure the grid lines. Parameters
visiblebool or None, optional
Whether to show the grid lines. If any kwargs are supplied, it is assumed you want the grid on and visible will be set to True. If visible is None ... | matplotlib._as_gen.matplotlib.axes.axes.grid |
matplotlib.axes.Axes.has_data Axes.has_data()[source]
Return whether any artists have been added to the Axes. This should not be used to determine whether the dataLim need to be updated, and may not actually be useful for anything. | matplotlib._as_gen.matplotlib.axes.axes.has_data |
matplotlib.axes.Axes.have_units Axes.have_units()[source]
Return whether units are set on any axis. | matplotlib._as_gen.matplotlib.axes.axes.have_units |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.