xrview.glyphs.HBar¶
-
class
xrview.glyphs.
HBar
(height, x_arg='right', y_arg='y', other=0.0, **kwargs)[source]¶ A horizontal bar glyph.
-
__init__
(height, x_arg='right', y_arg='y', other=0.0, **kwargs)[source]¶ Constructor.
- Parameters
- heightstr or float
The name of a coordinate or a fixed value that will represent the height of the bar.
- x_arg: str, default ‘right’
The glyph argument associated with x-axis values in the data.
- y_arg: str, default ‘y’
The glyph argument associated with y-axis values in the data.
- other: str or float, default 0.
The name of a coordinate or a fixed value that will represent the other side of the bar (i.e. the left side when x_arg=’right’).
- kwargs:
Additional keyword arguments to be passed to the underlying bokeh glyph(s).
Methods
__init__
(height[, x_arg, y_arg, other])Constructor.
Attributes
default_kwargs
method
-