The data positions.
The errorbar sizes:
Note that all error arrays should have positive values.
See Different ways of specifying error bars for an example on the usage of xerr
and yerr
.
The format for the data points / data lines. See plot
for details.
Use 'none' (case insensitive) to plot errorbars without any data markers.
A matplotlib color arg which gives the color the errorbar lines. If None, use the color of the line connecting the markers.
The linewidth of the errorbar lines. If None, the linewidth of the current style is used.
The length of the error bar caps in points. If None, it will take the value from rcParams["errorbar.capsize"] = 0.0
.
An alias to the keyword argument markeredgewidth (a.k.a. mew). This setting is a more sensible name for the property that controls the thickness of the error bar cap in points. For backwards compatibility, if mew or markeredgewidth are given, then they will over-ride capthick. This may change in future releases.
If True, will plot the errorbars above the plot symbols. Default is below.
These arguments can be used to indicate that a value gives only upper/lower limits. In that case a caret symbol is used to indicate this. lims-arguments may be of the same type as xerr and yerr. To use limits with inverted axes, set_xlim()
or set_ylim()
must be called before errorbar()
.
Subsamples the errorbars. e.g., if errorevery=5, errorbars for every 5-th datapoint will be plotted. The data plot itself still shows all data points.
ErrorbarContainer
The container contains:
Line2D
instance of x, y plot markers and/or line.Line2D
instances of the error bar caps.LineCollection
with the horizontal and vertical error ranges.All other keyword arguments are passed on to the plot command for the markers. For example, this code makes big red squares with thick green edges:
x,y,yerr = rand(3,10) errorbar(x, y, yerr, marker='s', mfc='red', mec='green', ms=20, mew=4)
where mfc, mec, ms and mew are aliases for the longer property names, markerfacecolor, markeredgecolor, markersize and markeredgewidth.
Valid kwargs for the marker properties are Lines2D
properties:
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
float animated
bool antialiased
or aa bool clip_box
Bbox
clip_on
bool clip_path
[(Path
, Transform
) | Patch
| None] color
or c color contains
callable dash_capstyle
{'butt', 'round', 'projecting'} dash_joinstyle
{'miter', 'round', 'bevel'} dashes
sequence of floats (on/off ink in points) or (None, None) drawstyle
or ds {'default', 'steps', 'steps-pre', 'steps-mid', 'steps-post'}, default: 'default' figure
Figure
fillstyle
{'full', 'left', 'right', 'bottom', 'top', 'none'} gid
str in_layout
bool label
object linestyle
or ls {'-', '--', '-.', ':', '', (offset, on-off-seq), ...} linewidth
or lw float marker
marker style markeredgecolor
or mec color markeredgewidth
or mew float markerfacecolor
or mfc color markerfacecoloralt
or mfcalt color markersize
or ms float markevery
None or int or (int, int) or slice or List[int] or float or (float, float) path_effects
AbstractPathEffect
picker
float or callable[[Artist, Event], Tuple[bool, dict]] pickradius
float rasterized
bool or None sketch_params
(scale: float, length: float, randomness: float) snap
bool or None solid_capstyle
{'butt', 'round', 'projecting'} solid_joinstyle
{'miter', 'round', 'bevel'} transform
matplotlib.transforms.Transform
url
str visible
bool xdata
1D array ydata
1D array zorder
float
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4