A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.axes.Axes.barh.html below:

matplotlib.axes.Axes.barh — Matplotlib 3.1.2 documentation

Parameters:
y : scalar or array-like

The y coordinates of the bars. See also align for the alignment of the bars to the coordinates.

width : scalar or array-like

The width(s) of the bars.

height : sequence of scalars, optional, default: 0.8

The heights of the bars.

left : sequence of scalars

The x coordinates of the left sides of the bars (default: 0).

align : {'center', 'edge'}, optional, default: 'center'

Alignment of the base to the y coordinates*:

To align the bars on the top edge pass a negative height and align='edge'.

Returns:
container : BarContainer

Container with all the bars and optionally errorbars.

Other Parameters:
color : scalar or array-like, optional

The colors of the bar faces.

edgecolor : scalar or array-like, optional

The colors of the bar edges.

linewidth : scalar or array-like, optional

Width of the bar edge(s). If 0, don't draw edges.

tick_label : string or array-like, optional

The tick labels of the bars. Default: None (Use default numeric labels.)

xerr, yerr : scalar or array-like of shape(N,) or shape(2,N), optional

If not None, add horizontal / vertical errorbars to the bar tips. The values are +/- sizes relative to the data:

See Different ways of specifying error bars for an example on the usage of xerr and yerr.

ecolor : scalar or array-like, optional, default: 'black'

The line color of the errorbars.

capsize : scalar, optional

The length of the error bar caps in points. Default: None, which will take the value from rcParams["errorbar.capsize"] = 0.0.

error_kw : dict, optional

Dictionary of kwargs to be passed to the errorbar method. Values of ecolor or capsize defined here take precedence over the independent kwargs.

log : bool, optional, default: False

If True, set the x-axis to be log scale.


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