healpy.projaxes.MollweideAxes.barh¶
-
MollweideAxes.
barh
(bottom, width, height=0.8, left=None, **kwargs)¶ Make a horizontal bar plot.
Call signature:
barh(bottom, width, height=0.8, left=0, **kwargs)
Make a horizontal bar plot with rectangles bounded by:
- left, left + width, bottom, bottom + height
- (left, right, bottom and top edges)
bottom, width, height, and left can be either scalars or sequences
Return value is a list of
matplotlib.patches.Rectangle
instances.Required arguments:
Argument Description bottom the vertical positions of the bottom edges of the bars width the lengths of the bars Optional keyword arguments:
Keyword Description height the heights (thicknesses) of the bars left the x coordinates of the left edges of the bars color the colors of the bars edgecolor the colors of the bar edges linewidth width of bar edges; None means use default linewidth; 0 means don’t draw edges. xerr if not None, will be used to generate errorbars on the bar chart yerr if not None, will be used to generate errorbars on the bar chart ecolor specifies the color of any errorbar capsize (default 3) determines the length in points of the error bar caps align ‘edge’ (default) | ‘center’ log [False|True] False (default) leaves the horizontal axis as-is; True sets it to log scale Setting align = ‘edge’ aligns bars by their bottom edges in bottom, while align = ‘center’ interprets these values as the y coordinates of the bar centers.
The optional arguments color, edgecolor, linewidth, xerr, and yerr can be either scalars or sequences of length equal to the number of bars. This enables you to use barh as the basis for stacked bar charts, or candlestick plots.
other optional kwargs:
agg_filter: unknown alpha: float or None animated: [True | False] antialiased or aa: [True | False] or None for default axes: anAxes
instance clip_box: amatplotlib.transforms.Bbox
instance clip_on: [True | False] clip_path: [ (Path
,Transform
) |Patch
| None ] color: matplotlib color spec contains: a callable function edgecolor or ec: mpl color spec, or None for default, or ‘none’ for no color facecolor or fc: mpl color spec, or None for default, or ‘none’ for no color figure: amatplotlib.figure.Figure
instance fill: [True | False] gid: an id string hatch: [‘/’ | ‘\’ | ‘|’ | ‘-‘ | ‘+’ | ‘x’ | ‘o’ | ‘O’ | ‘.’ | ‘*’] label: string or anything printable with ‘%s’ conversion. linestyle or ls: [‘solid’ | ‘dashed’ | ‘dashdot’ | ‘dotted’] linewidth or lw: float or None for default lod: [True | False] path_effects: unknown picker: [None|float|boolean|callable] rasterized: [True | False | None] sketch_params: unknown snap: unknown transform:Transform
instance url: a url string visible: [True | False] zorder: any number