xrview.glyphs.VBar

class xrview.glyphs.VBar(width, x_arg='x', y_arg='top', other=0.0, **kwargs)[source]

A vertical bar glyph.

__init__(width, x_arg='x', y_arg='top', other=0.0, **kwargs)[source]

Constructor.

Parameters
widthstr or float

The name of a coordinate or a fixed value that will represent the width of the bar.

x_arg: str, default ‘x’

The glyph argument associated with x-axis values in the data.

y_arg: str, default ‘top’

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 bottom side when y_arg=’top’).

kwargs:

Additional keyword arguments to be passed to the underlying bokeh glyph(s).

Methods

__init__(width[, x_arg, y_arg, other])

Constructor.

Attributes

default_kwargs

method