arviz_plots.backend.scale_fig_size

Contents

arviz_plots.backend.scale_fig_size#

arviz_plots.backend.scale_fig_size(figsize, rows=1, cols=1, figsize_units=None)[source]#

Scale figure properties according to figsize, rows and cols.

Provide a default figure size given rows and cols.

Parameters:
figsizetuple of (float, float) or None

Size of figure in figsize_units

rowsint, default 1

Number of rows

colsint, default 1

Number of columns

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

Ignored if figsize is None

Returns:
figsizetuple of (float, float)

Size of figure in dots

See also

arviz_plots.backend.bokeh.scale_fig_size
arviz_plots.backend.matplotlib.scale_fig_size
arviz_plots.backend.plotly.scale_fig_size