xrview.glyphs.Whisker

class xrview.glyphs.Whisker(x_arg='base', y_arg='upper', other=0.0, **kwargs)[source]

A whisker annotation.

__init__(x_arg='base', y_arg='upper', other=0.0, **kwargs)[source]

Constructor.

Parameters
x_arg: str, default ‘base’

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

y_arg: str, default ‘upper’

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 end of the whisker (i.e. the lower end when y_arg=’upper’).

kwargs:

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

Methods

__init__([x_arg, y_arg, other])

Constructor.

Attributes

default_kwargs