neulab/docprompting-conala huggingface dataset:
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 match(artist: Artist) -> bool. The result will only contain artists for which the function returns True. A class instance: e.g., Line2D. The result will only contain artists of this class or its subclasses (isinstance check).   
include_selfbool


Include self in the list to be checked for a match.    Returns 
 list of Artist
matplotlib.axes.Axes.format_coord   Axes.format_coord(x, y)[source]
 
Return a format string formatting the x, y coordinates.
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 floats and arrays of ints and floats into a comma-separated string enclosed in square brackets, unless the artist has an associated colorbar, in which case scalar values are formatted using the colorbar's formatter.  See also  get_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.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.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.  matplotlib.axes.Axes.set_aspect

For a description of aspect handling.
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.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.axes.Axes.get_autoscale_on   Axes.get_autoscale_on()[source]
 
Return True if each axis is autoscaled, False otherwise.
matplotlib.axes.Axes.get_autoscalex_on   Axes.get_autoscalex_on()[source]
 
Return whether the x-axis is autoscaled.
matplotlib.axes.Axes.get_autoscaley_on   Axes.get_autoscaley_on()[source]
 
Return whether the y-axis is autoscaled.
matplotlib.axes.Axes.get_axes_locator   Axes.get_axes_locator()[source]
 
Return the 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.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.axes.Axes.set_aspect

for a description of aspect handling.
matplotlib.axes.Axes.get_children   Axes.get_children()[source]
 
Return a list of the child Artists of this Artist.
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 additional context information for a given event. The default implementation just returns None. Subclasses can override the method and return arbitrary data. However, when doing so, they must ensure that format_cursor_data can convert the data to a string representation. The only current use case is displaying the z-value of an AxesImage in the status bar of a plot window, while moving the mouse.  Parameters 
 
eventmatplotlib.backend_bases.MouseEvent

    See also  format_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.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.axes.Axes.get_facecolor   Axes.get_facecolor()[source]
 
Get the facecolor of the Axes.
matplotlib.axes.Axes.get_frame_on   Axes.get_frame_on()[source]
 
Get whether the Axes rectangle patch is drawn.
matplotlib.axes.Axes.get_images   Axes.get_images()[source]
 
Return a list of AxesImages contained by the Axes.
matplotlib.axes.Axes.get_legend   Axes.get_legend()[source]
 
Return the Legend instance, or None if no legend is defined.
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.axes.Axes.get_lines   Axes.get_lines()[source]
 
Return a list of lines contained by the Axes.
matplotlib.axes.Axes.get_navigate   Axes.get_navigate()[source]
 
Get whether the Axes responds to navigation commands.
matplotlib.axes.Axes.get_navigate_mode   Axes.get_navigate_mode()[source]
 
Get the navigation toolbar button status: 'PAN', 'ZOOM', or None.
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
   
  Examples using matplotlib.axes.Axes.get_position
 
   Contour Demo
matplotlib.axes.Axes.get_rasterization_zorder   Axes.get_rasterization_zorder()[source]
 
Return the zorder value below which artists will be rasterized.
matplotlib.axes.Axes.get_renderer_cache   Axes.get_renderer_cache()[source]
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.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.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 the bbox.  Parameters 
 
rendererRendererBase subclass


renderer that will be used to draw the figures (i.e. fig.canvas.get_renderer())  
bbox_extra_artistslist of Artist or None


List of artists to include in the tight bounding box. If None (default), then all artist children of the Axes are included in the tight bounding box.  
call_axes_locatorbool, default: True


If call_axes_locator is False, it does not call the _axes_locator attribute, which is necessary to get the correct bounding box. call_axes_locator=False can be used if the caller is only interested in the relative size of the tightbbox compared to the Axes bbox.  
for_layout_onlydefault: False


The bounding box will not include the x-extent of the title and the xlabel, or the y-extent of the ylabel.    Returns 
 BboxBase

Bounding box in figure pixel coordinates.      See also  matplotlib.axes.Axes.get_window_extent
matplotlib.axis.Axis.get_tightbbox
matplotlib.spines.Spine.get_window_extent
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: 'center'


Which title to return.    Returns 
 str

The title text string.
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.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.axes.Axes.get_tightbbox
matplotlib.axis.Axis.get_tightbbox
matplotlib.spines.Spine.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.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 is in axis coordinates  
valign{'center', 'top', 'bottom', 'baseline', 'center_baseline'}


The text vertical alignment.  
halign{'center', 'left', 'right'}


The text horizontal alignment.     Notes This transformation is primarily used by the Axis class, and is meant to be overridden by new kinds of projections that may need to place axis elements in different locations.
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-direction is in axis coordinates  
valign{'center', 'top', 'bottom', 'baseline', 'center_baseline'}


The text vertical alignment.  
halign{'center', 'left', 'right'}


The text horizontal alignment.     Notes This transformation is primarily used by the Axis class, and is meant to be overridden by new kinds of projections that may need to place axis elements in different locations.
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 meant to be overridden by new kinds of projections that may need to place axis elements in different locations.  
  Examples using matplotlib.axes.Axes.get_xaxis_transform
 
   Filling the area between lines   

   hlines and vlines   

   Boxplots   

   Scale invariant angle label   

   Centered spines with arrows   

   Transformations Tutorial
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.axes.Axes.get_xgridlines   Axes.get_xgridlines()[source]
 
Return the xaxis' grid lines as a list of Line2Ds.
matplotlib.axes.Axes.get_xlabel   Axes.get_xlabel()[source]
 
Get the xlabel text string.
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 will be greater than the right value. 
  Examples using matplotlib.axes.Axes.get_xlim
 
   Decay
matplotlib.axes.Axes.get_xmajorticklabels   Axes.get_xmajorticklabels()[source]
 
Return the xaxis' major tick labels, as a list of Text.
matplotlib.axes.Axes.get_xminorticklabels   Axes.get_xminorticklabels()[source]
 
Return the xaxis' minor tick labels, as a list of Text.
matplotlib.axes.Axes.get_xscale   Axes.get_xscale()[source]
 
Return the xaxis' scale (as a str).
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 Text

   Notes The tick label strings are not populated until a draw method has been called. See also: draw and draw. 
  Examples using matplotlib.axes.Axes.get_xticklabels
 
   Creating a timeline with lines, dates, and text   

   Creating annotated heatmaps   

   Aligning Labels   

   Boxplots   

   Date tick labels   

   Formatting date ticks using ConciseDateFormatter   

   Evans test   

   The Lifecycle of a Plot
matplotlib.axes.Axes.get_xticklines   Axes.get_xticklines(minor=False)[source]
 
Return the xaxis' tick lines as a list of Line2Ds.
matplotlib.axes.Axes.get_xticks   Axes.get_xticks(*, minor=False)[source]
 
Return the xaxis' tick locations in data coordinates.
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.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 is in data coordinates  
valign{'center', 'top', 'bottom', 'baseline', 'center_baseline'}


The text vertical alignment.  
halign{'center', 'left', 'right'}


The text horizontal alignment.     Notes This transformation is primarily used by the Axis class, and is meant to be overridden by new kinds of projections that may need to place axis elements in different locations.
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-direction is in data coordinates  
valign{'center', 'top', 'bottom', 'baseline', 'center_baseline'}


The text vertical alignment.  
halign{'center', 'left', 'right'}


The text horizontal alignment.     Notes This transformation is primarily used by the Axis class, and is meant to be overridden by new kinds of projections that may need to place axis elements in different locations.
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 meant to be overridden by new kinds of projections that may need to place axis elements in different locations.  
  Examples using matplotlib.axes.Axes.get_yaxis_transform
 
   Centered spines with arrows   

   Connect Simple01   

   Transformations Tutorial
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.axes.Axes.get_ygridlines   Axes.get_ygridlines()[source]
 
Return the yaxis' grid lines as a list of Line2Ds.
matplotlib.axes.Axes.get_ylabel   Axes.get_ylabel()[source]
 
Get the ylabel text string.
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 value will be greater than the top value. 
  Examples using matplotlib.axes.Axes.get_ylim
 
   Line, Poly and RegularPoly Collection with autoscaling
matplotlib.axes.Axes.get_ymajorticklabels   Axes.get_ymajorticklabels()[source]
 
Return the yaxis' major tick labels, as a list of Text.
matplotlib.axes.Axes.get_yminorticklabels   Axes.get_yminorticklabels()[source]
 
Return the yaxis' minor tick labels, as a list of Text.
matplotlib.axes.Axes.get_yscale   Axes.get_yscale()[source]
 
Return the yaxis' scale (as a str).
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 Text

   Notes The tick label strings are not populated until a draw method has been called. See also: draw and draw. 
  Examples using matplotlib.axes.Axes.get_yticklabels
 
   Fill Between and Alpha   

   Programmatically controlling subplot adjustment
matplotlib.axes.Axes.get_yticklines   Axes.get_yticklines(minor=False)[source]
 
Return the yaxis' tick lines as a list of Line2Ds.
matplotlib.axes.Axes.get_yticks   Axes.get_yticks(*, minor=False)[source]
 
Return the yaxis' tick locations in data coordinates.
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.axes.Axes.have_units   Axes.have_units()[source]
 
Return whether units are set on any axis.
matplotlib.axes.Axes.hist2d   Axes.hist2d(x, y, bins=10, range=None, density=False, weights=None, cmin=None, cmax=None, *, data=None, **kwargs)[source]
 
Make a 2D histogram plot.  Parameters 
 
x, yarray-like, shape (n, )


Input values  
binsNone or int or [int, int] or array-like or [array, array]


The bin specification:  If int, the number of bins for the two dimensions (nx=ny=bins). If [int, int], the number of bins in each dimension (nx, ny = bins). If array-like, the bin edges for the two dimensions (x_edges=y_edges=bins). If [array, array], the bin edges in each dimension (x_edges, y_edges = bins).  The default value is 10.  
rangearray-like shape(2, 2), optional


The leftmost and rightmost edges of the bins along each dimension (if not specified explicitly in the bins parameters): [[xmin,
xmax], [ymin, ymax]]. All values outside of this range will be considered outliers and not tallied in the histogram.  
densitybool, default: False


Normalize histogram. See the documentation for the density parameter of hist for more details.  
weightsarray-like, shape (n, ), optional


An array of values w_i weighing each sample (x_i, y_i).  
cmin, cmaxfloat, default: None


All bins that has count less than cmin or more than cmax will not be displayed (set to NaN before passing to imshow) and these count values in the return value count histogram will also be set to nan upon return.    Returns 
 
h2D array


The bi-dimensional histogram of samples x and y. Values in x are histogrammed along the first dimension and values in y are histogrammed along the second dimension.  
xedges1D array


The bin edges along the x axis.  
yedges1D array


The bin edges along the y axis.  
imageQuadMesh

  Other Parameters 
 
cmapColormap or str, optional


A colors.Colormap instance. If not set, use rc settings.  
normNormalize, optional


A colors.Normalize instance is used to scale luminance data to [0, 1]. If not set, defaults to colors.Normalize().  
vmin/vmaxNone or scalar, optional


Arguments passed to the Normalize instance.  
alpha0 <= scalar <= 1 or None, optional


The alpha blending value.  
dataindexable object, optional


If given, the following parameters also accept a string s, which is interpreted as data[s] (unless this raises an exception): x, y, weights  **kwargs

Additional parameters are passed along to the pcolormesh method and QuadMesh constructor.      See also  hist

1D histogram plotting  hexbin

2D histogram with hexagonal bins    Notes  Currently hist2d calculates its own axis limits, and any limits previously set are ignored. Rendering the histogram with a logarithmic color scale is accomplished by passing a colors.LogNorm instance to the norm keyword argument. Likewise, power-law normalization (similar in effect to gamma correction) can be accomplished with colors.PowerNorm.  
  Examples using matplotlib.axes.Axes.hist2d
 
   Histograms   

   Exploring normalizations   

   hist2d(x, y)
matplotlib.axes.Axes.hlines   Axes.hlines(y, xmin, xmax, colors=None, linestyles='solid', label='', *, data=None, **kwargs)[source]
 
Plot horizontal lines at each y from xmin to xmax.  Parameters 
 
yfloat or array-like


y-indexes where to plot the lines.  
xmin, xmaxfloat or array-like


Respective beginning and end of each line. If scalars are provided, all lines will have same length.  
colorslist of colors, default: rcParams["lines.color"] (default: 'C0')


linestyles{'solid', 'dashed', 'dashdot', 'dotted'}, optional


labelstr, default: ''

  Returns 
 LineCollection
  Other Parameters 
 
dataindexable object, optional


If given, the following parameters also accept a string s, which is interpreted as data[s] (unless this raises an exception): y, xmin, xmax, colors  
**kwargsLineCollection properties.

    See also  vlines

vertical lines  axhline

horizontal line across the Axes    
  Examples using matplotlib.axes.Axes.hlines
 
   hlines and vlines   

   Specifying Colors
matplotlib.axes.Axes.in_axes   Axes.in_axes(mouseevent)[source]
 
Return whether the given event (in display coords) is in the Axes.