xrview.glyphs.Rect¶
-
class
xrview.glyphs.
Rect
(width, height, x_arg='x', y_arg='y', **kwargs)[source]¶ A rectangle glyph.
-
__init__
(width, height, x_arg='x', y_arg='y', **kwargs)[source]¶ Constructor.
- Parameters
- widthstr or float
The name of a coordinate or a fixed value that will represent the width of the rectangle.
- heightstr or float
The name of a coordinate or a fixed value that will represent the height of the rectangle.
- x_arg: str, default ‘x’
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.
- kwargs:
Additional keyword arguments to be passed to the underlying bokeh glyph(s).
Methods
__init__
(width, height[, x_arg, y_arg])Constructor.
Attributes
default_kwargs
method
-