bokeh.models.renderers
¶Models (mostly base classes) for the various kinds of renderer types that Bokeh supports.
GlyphRenderer
(**kwargs)¶Bases: bokeh.models.renderers.Renderer
data_source
¶property type: Instance
(DataSource)
Local data source to use when rendering glyphs on the plot.
glyph
¶property type: Instance
(Glyph)
The glyph to render, in conjunction with the supplied data source and ranges.
level
¶property type: Enum
(‘image’, ‘underlay’, ‘glyph’, ‘annotation’, ‘overlay’, ‘tool’)
Specifies the level in which to render the glyph.
nonselection_glyph
¶property type: Instance
(Glyph)
An optional glyph used for explicitly non-selected points (i.e., non-selected when there are other points that are selected, but not when no points at all are selected.)
[
{
"attributes": {
"data_source": null,
"doc": null,
"glyph": null,
"id": "d72d2e95-77d5-4cf9-a9dd-d43b745eaed5",
"level": "glyph",
"name": null,
"nonselection_glyph": null,
"selection_glyph": null,
"tags": [],
"units": "screen",
"x_range_name": "default",
"y_range_name": "default"
},
"id": "d72d2e95-77d5-4cf9-a9dd-d43b745eaed5",
"type": "GlyphRenderer"
}
]
GuideRenderer
(**kwargs)¶Bases: bokeh.models.renderers.Renderer
A base class for all guide renderer types. GuideRenderer
is
not generally useful to instantiate on its own.
[
{
"attributes": {
"doc": null,
"id": "901aa06d-7c04-4546-97b4-6e03449208ee",
"name": null,
"plot": null,
"tags": []
},
"id": "901aa06d-7c04-4546-97b4-6e03449208ee",
"type": "GuideRenderer"
}
]
Renderer
(**kwargs)¶Bases: bokeh.plot_object.PlotObject
A base class for renderer types. Renderer
is not
generally useful to instantiate on its own.
[
{
"attributes": {
"doc": null,
"id": "b8a51bf5-a1f5-489e-bd21-52e72f80e543",
"name": null,
"tags": []
},
"id": "b8a51bf5-a1f5-489e-bd21-52e72f80e543",
"type": "Renderer"
}
]