arviz_plots.backend.bokeh.create_plotting_grid

arviz_plots.backend.bokeh.create_plotting_grid#

arviz_plots.backend.bokeh.create_plotting_grid(number, rows=1, cols=1, *, figsize=None, figsize_units='inches', squeeze=True, sharex=False, sharey=False, polar=False, width_ratios=None, height_ratios=None, plot_hspace=None, subplot_kws=None, **kwargs)[source]#

Create a figure with a grid of plotting targets in it.

Parameters:
numberint

Number of axes required

rows, colsint, default 1

Number of rows and columns.

figsizetuple of (float, float), optional

Size of the figure in figsize_units. It overwrites the values for “width” and “height” in subplot_kws if any.

figsize_units{“inches”, “dots”}, default “inches”

Units in which figsize is given.

squeezebool, default True

Remove dimensions of length 1 of the plots output.

sharex, shareybool, default False
polarbool, default False

Whether to create plots with polar coordinate axes.

width_ratios, height_ratiosarray_like, optional

Ratios between widths/heights of columns/rows in the generated plot grid.

subplot_kwsdict, optional

Passed to figure

**kwargs

Passed to gridplot

Returns:
figuregridplot or None

Bokeh object representing the generated figure

plotsfigure or ndarray of figure

Object representing the generated plots