msticpy.vis.figure_dimension module
figure_dimension - helps set the width and height properties of a figure for plotting.
- msticpy.vis.figure_dimension.bokeh_figure(func)
Wrap bokeh ‘figure’ function for version-agnostic param naming.
- Parameters:
func (Callable) – The function to wrap
- Returns:
The wrapped figure function.
- Return type:
Callable
- msticpy.vis.figure_dimension.set_figure_size(fig, width, height)
Set the figure size.
- Parameters:
fig (figure) – initial figure
width (int) – width dimension
height (int) – height dimension
- Returns:
figure
- Return type:
figure with correct width and height