neulab/docprompting-conala huggingface dataset:
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 the correct position.  Parameters 
 
shorthand_namestr


A string representing the "name" of the transform. The name carries no significance other than to improve the readability of str(transform) when DEBUG=True.       has_inverse=True
 
True if this transform has a corresponding inverse transform. 
   input_dims=2
 
The number of input dimensions of this transform. Must be overridden (with integers) in the subclass. 
   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. 
   output_dims=2
 
The number of output dimensions of this transform. Must be overridden (with integers) in the subclass. 
   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.  Parameters 
 
valuesarray


The input values as NumPy array of length input_dims or shape (N x input_dims).    Returns 
 array

The output values as NumPy array of length input_dims or shape (N x output_dims), depending on the input.     
   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)).
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 acceptance radius for containment tests. See also Axis.contains.       axis_name='radius'
 
Read-only name identifying the axis. 
   cla()[source]
 
[Deprecated] Notes  Deprecated since version 3.4:   
   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  
   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>, minor_formatter=<UNSET>, minor_locator=<UNSET>, offset_position=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, pickradius=<UNSET>, rasterized=<UNSET>, remove_overlapping_locs=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, tick_params=<UNSET>, ticklabels=<UNSET>, ticks=<UNSET>, ticks_position=<UNSET>, transform=<UNSET>, units=<UNSET>, url=<UNSET>, view_interval=<UNSET>, visible=<UNSET>, zorder=<UNSET>)[source]
 
Set multiple properties at once. Supported properties are   
Property Description   
agg_filter a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array  
alpha scalar or None  
animated bool  
clip_box Bbox  
clip_on bool  
clip_path Patch or (Path, Transform) or None  
data_interval unknown  
figure Figure  
gid str  
in_layout bool  
inverted unknown  
label object  
label_coords unknown  
label_position {'left', 'right'}  
label_text str  
major_formatter Formatter, str, or function  
major_locator Locator  
minor_formatter Formatter, str, or function  
minor_locator Locator  
offset_position {'left', 'right'}  
path_effects AbstractPathEffect  
picker None or bool or float or callable  
pickradius float  
rasterized bool  
remove_overlapping_locs unknown  
sketch_params (scale: float, length: float, randomness: float)  
snap bool or None  
tick_params unknown  
ticklabels sequence of str or of Texts  
ticks list of floats  
ticks_position {'left', 'right', 'both', 'default', 'none'}  
transform Transform  
units units tag  
url str  
view_interval unknown  
visible bool  
zorder float
cla()[source]
 
[Deprecated] Notes  Deprecated since version 3.4:
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
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>, minor_formatter=<UNSET>, minor_locator=<UNSET>, offset_position=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, pickradius=<UNSET>, rasterized=<UNSET>, remove_overlapping_locs=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, tick_params=<UNSET>, ticklabels=<UNSET>, ticks=<UNSET>, ticks_position=<UNSET>, transform=<UNSET>, units=<UNSET>, url=<UNSET>, view_interval=<UNSET>, visible=<UNSET>, zorder=<UNSET>)[source]
 
Set multiple properties at once. Supported properties are   
Property Description   
agg_filter a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array  
alpha scalar or None  
animated bool  
clip_box Bbox  
clip_on bool  
clip_path Patch or (Path, Transform) or None  
data_interval unknown  
figure Figure  
gid str  
in_layout bool  
inverted unknown  
label object  
label_coords unknown  
label_position {'left', 'right'}  
label_text str  
major_formatter Formatter, str, or function  
major_locator Locator  
minor_formatter Formatter, str, or function  
minor_locator Locator  
offset_position {'left', 'right'}  
path_effects AbstractPathEffect  
picker None or bool or float or callable  
pickradius float  
rasterized bool  
remove_overlapping_locs unknown  
sketch_params (scale: float, length: float, randomness: float)  
snap bool or None  
tick_params unknown  
ticklabels sequence of str or of Texts  
ticks list of floats  
ticks_position {'left', 'right', 'both', 'default', 'none'}  
transform Transform  
units units tag  
url str  
view_interval unknown  
visible bool  
zorder float
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, 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 interval around this value. If (v0, v1) == (-inf, +inf), this method returns appropriate default view limits. Otherwise, (v0, v1) is returned without modification.  
   set_axis(axis)[source]

   view_limits(vmin, vmax)[source]
 
Select a scale for the range from vmin to vmax. Subclasses should override this method to change locator behaviour.
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 perpendicular to the spine. Labels are also rotated to be perpendicular to the spine, when 'auto' rotation is enabled. bbox is the Bound2D bounding box in display coords of the Axes loc is the tick location in data coords size is the tick size in points   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>, url=<UNSET>, visible=<UNSET>, zorder=<UNSET>)[source]
 
Set multiple properties at once. Supported properties are   
Property Description   
agg_filter a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array  
alpha scalar or None  
animated bool  
clip_box Bbox  
clip_on bool  
clip_path Patch or (Path, Transform) or None  
figure Figure  
gid str  
in_layout bool  
label str  
label1 str  
label2 str  
pad float  
path_effects AbstractPathEffect  
picker None or bool or float or callable  
rasterized bool  
sketch_params (scale: float, length: float, randomness: float)  
snap bool or None  
transform Transform  
url str  
visible bool  
zorder float   
   update_position(loc)[source]
 
Set the location of tick in data coords with scalar loc.
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>, url=<UNSET>, visible=<UNSET>, zorder=<UNSET>)[source]
 
Set multiple properties at once. Supported properties are   
Property Description   
agg_filter a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array  
alpha scalar or None  
animated bool  
clip_box Bbox  
clip_on bool  
clip_path Patch or (Path, Transform) or None  
figure Figure  
gid str  
in_layout bool  
label str  
label1 str  
label2 str  
pad float  
path_effects AbstractPathEffect  
picker None or bool or float or callable  
rasterized bool  
sketch_params (scale: float, length: float, randomness: float)  
snap bool or None  
transform Transform  
url str  
visible bool  
zorder float
update_position(loc)[source]
 
Set the location of tick in data coords with scalar loc.
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 acceptance radius for containment tests. See also Axis.contains.       axis_name='theta'
 
Read-only name identifying the axis. 
   cla()[source]
 
[Deprecated] Notes  Deprecated since version 3.4:   
   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  
   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>, minor_formatter=<UNSET>, minor_locator=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, pickradius=<UNSET>, rasterized=<UNSET>, remove_overlapping_locs=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, tick_params=<UNSET>, ticklabels=<UNSET>, ticks=<UNSET>, ticks_position=<UNSET>, transform=<UNSET>, units=<UNSET>, url=<UNSET>, view_interval=<UNSET>, visible=<UNSET>, zorder=<UNSET>)[source]
 
Set multiple properties at once. Supported properties are   
Property Description   
agg_filter a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array  
alpha scalar or None  
animated bool  
clip_box Bbox  
clip_on bool  
clip_path Patch or (Path, Transform) or None  
data_interval unknown  
figure Figure  
gid str  
in_layout bool  
inverted unknown  
label object  
label_coords unknown  
label_position {'top', 'bottom'}  
label_text str  
major_formatter Formatter, str, or function  
major_locator Locator  
minor_formatter Formatter, str, or function  
minor_locator Locator  
path_effects AbstractPathEffect  
picker None or bool or float or callable  
pickradius float  
rasterized bool  
remove_overlapping_locs unknown  
sketch_params (scale: float, length: float, randomness: float)  
snap bool or None  
tick_params unknown  
ticklabels sequence of str or of Texts  
ticks list of floats  
ticks_position {'top', 'bottom', 'both', 'default', 'none'}  
transform Transform  
units units tag  
url str  
view_interval unknown  
visible bool  
zorder float
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>, minor_formatter=<UNSET>, minor_locator=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, pickradius=<UNSET>, rasterized=<UNSET>, remove_overlapping_locs=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, tick_params=<UNSET>, ticklabels=<UNSET>, ticks=<UNSET>, ticks_position=<UNSET>, transform=<UNSET>, units=<UNSET>, url=<UNSET>, view_interval=<UNSET>, visible=<UNSET>, zorder=<UNSET>)[source]
 
Set multiple properties at once. Supported properties are   
Property Description   
agg_filter a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array  
alpha scalar or None  
animated bool  
clip_box Bbox  
clip_on bool  
clip_path Patch or (Path, Transform) or None  
data_interval unknown  
figure Figure  
gid str  
in_layout bool  
inverted unknown  
label object  
label_coords unknown  
label_position {'top', 'bottom'}  
label_text str  
major_formatter Formatter, str, or function  
major_locator Locator  
minor_formatter Formatter, str, or function  
minor_locator Locator  
path_effects AbstractPathEffect  
picker None or bool or float or callable  
pickradius float  
rasterized bool  
remove_overlapping_locs unknown  
sketch_params (scale: float, length: float, randomness: float)  
snap bool or None  
tick_params unknown  
ticklabels sequence of str or of Texts  
ticks list of floats  
ticks_position {'top', 'bottom', 'both', 'default', 'none'}  
transform Transform  
units units tag  
url str  
view_interval unknown  
visible bool  
zorder float
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.
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.   refresh()[source]

   set_axis(axis)[source]

   view_limits(vmin, vmax)[source]
 
Select a scale for the range from vmin to vmax. Subclasses should override this method to change locator behaviour.
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 perpendicular to the arc spine. When 'auto' rotation is enabled, labels are also rotated to be parallel to the spine. The label padding is also applied here since it's not possible to use a generic axes transform to produce tick-specific padding. bbox is the Bound2D bounding box in display coords of the Axes loc is the tick location in data coords size is the tick size in points   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>, url=<UNSET>, visible=<UNSET>, zorder=<UNSET>)[source]
 
Set multiple properties at once. Supported properties are   
Property Description   
agg_filter a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array  
alpha scalar or None  
animated bool  
clip_box Bbox  
clip_on bool  
clip_path Patch or (Path, Transform) or None  
figure Figure  
gid str  
in_layout bool  
label str  
label1 str  
label2 str  
pad float  
path_effects AbstractPathEffect  
picker None or bool or float or callable  
rasterized bool  
sketch_params (scale: float, length: float, randomness: float)  
snap bool or None  
transform Transform  
url str  
visible bool  
zorder float   
   update_position(loc)[source]
 
Set the location of tick in data coords with scalar loc.
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(*projections)[source]
 
Register a new set of projections.
get_projection_class(name)[source]
 
Get a projection class from its name.
get_projection_names()[source]
 
Return the names of all projections currently registered.
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
  
normedbool, default: True


If True, input vectors are normalised to unit length.  
usevlinesbool, default: True


Determines the plot style. If True, vertical lines are plotted from 0 to the acorr value using Axes.vlines. Additionally, a horizontal line is plotted at y=0 using Axes.axhline. If False, markers are plotted at the acorr values using Axes.plot.  
maxlagsint, default: 10


Number of lags to show. If None, will return all 2 * len(x) - 1 lags.    Returns 
 
lagsarray (length 2*maxlags+1)


The lag vector.  
carray (length 2*maxlags+1)


The auto correlation vector.  
lineLineCollection or Line2D


Artist added to the Axes of the correlation:  
LineCollection if usevlines is True. 
Line2D if usevlines is False.   
bLine2D or None


Horizontal line at 0 if usevlines is True None usevlines is False.    Other Parameters 
 
linestyleLine2D property, optional


The linestyle for plotting the data points. Only used if usevlines is False.  
markerstr, default: 'o'


The marker for plotting the data points. Only used if usevlines is False.  
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  **kwargs

Additional parameters are passed to Axes.vlines and Axes.axhline if usevlines is True; otherwise they are passed to Axes.plot.     Notes The cross correlation is performed with numpy.correlate with mode = "full".
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.001


Width of full arrow tail.  
length_includes_headbool, default: False


True if head is to be counted in calculating the length.  
head_widthfloat or None, default: 3*width


Total width of the full arrow head.  
head_lengthfloat or None, default: 1.5*head_width


Length of arrow head.  
shape{'full', 'left', 'right'}, default: 'full'


Draw the left-half, right-half, or full arrow.  
overhangfloat, default: 0


Fraction that the arrow is swept back (0 overhang means triangular shape). Can be negative or greater than one.  
head_starts_at_zerobool, default: False


If True, the head starts being drawn at coordinate 0 instead of ending at coordinate 0.  **kwargs

Patch properties:   
Property Description   
agg_filter a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array  
alpha unknown  
animated bool  
antialiased or aa bool or None  
capstyle CapStyle or {'butt', 'projecting', 'round'}  
clip_box Bbox  
clip_on bool  
clip_path Patch or (Path, Transform) or None  
color color  
edgecolor or ec color or None  
facecolor or fc color or None  
figure Figure  
fill bool  
gid str  
hatch {'/', '\', '|', '-', '+', 'x', 'o', 'O', '.', '*'}  
in_layout bool  
joinstyle JoinStyle or {'miter', 'round', 'bevel'}  
label object  
linestyle or ls {'-', '--', '-.', ':', '', (offset, on-off-seq), ...}  
linewidth or lw float or None  
path_effects AbstractPathEffect  
picker None or bool or float or callable  
rasterized bool  
sketch_params (scale: float, length: float, randomness: float)  
snap bool or None  
transform Transform  
url str  
visible bool  
zorder float      Returns 
 FancyArrow

The created FancyArrow object.     Notes The resulting arrow is affected by the Axes aspect ratio and limits. This may produce an arrow whose head is not square with its stem. To create an arrow whose head is square with its stem, use annotate() for example: >>> ax.annotate("", xy=(0.5, 0.5), xytext=(0, 0),
...             arrowprops=dict(arrowstyle="->"))
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 specified axis or Axes.  Parameters 
 
enablebool or None, default: True


True turns autoscaling on, False turns it off. None leaves the autoscaling state unchanged.  
axis{'both', 'x', 'y'}, default: 'both'


Which axis to operate on.  
tightbool or None, default: None


If True, first set the margins to zero. Then, this argument is forwarded to autoscale_view (regardless of its value); see the description of its behavior there.
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.