bokeh.models.grids¶
A guide renderer for displaying grid lines on Bokeh plots.
-
class
Grid(**kwargs)[source]¶ Bases:
bokeh.models.renderers.GuideRendererDisplay horizontal or vertical grid lines at locations given by a supplied
Ticker.-
band_fill_alpha¶ property type:
NumberSpecThe fill alpha of alternating bands between Grid lines.
-
bounds¶ property type:
Either(Auto,Tuple(Float,Float) )Bounds for the rendered grid lines. If unset, the grid lines will span the entire plot in the given dimension.
-
dimension¶ property type:
IntWhich dimension the Axis Grid lines will intersect. The x-axis is dimension 0 (vertical Grid lines) and the y-axis is dimension 1 (horizontal Grid lines).
-
grid_line_alpha¶ property type:
NumberSpecThe line alpha of the Grid lines.
-
grid_line_dash¶ property type:
DashPatternThe line dash of the Grid lines.
-
grid_line_width¶ property type:
NumberSpecThe line width of the Grid lines.
-
minor_grid_line_alpha¶ property type:
NumberSpecThe line alpha of the minor Grid lines.
-
minor_grid_line_dash¶ property type:
DashPatternThe line dash of the minor Grid lines.
-
minor_grid_line_width¶ property type:
NumberSpecThe line width of the minor Grid lines.
-
ticker¶ property type:
Instance(Ticker)The Ticker to use for computing locations for the Grid lines.
-