showΒΆ
- Figure.show(autoscale=True, maintain_aspect=None, toolbar=True, sidecar=False, sidecar_kwargs=None, add_widgets=None)[source]ΒΆ
Begins the rendering event loop and shows the plot in the desired output context (jupyter, qt or glfw).
- Parameters:
autoscale (bool, default
True
) β autoscale the Scenemaintain_aspect (bool, default
True
) β maintain aspect ratiotoolbar (bool, default
True
) β show toolbarsidecar (bool, default
True
) β display plot in ajupyterlab-sidecar
, only for jupyter output contextsidecar_kwargs (dict, default
None
) β kwargs for sidecar instance to display plot i.e. title, layoutadd_widgets (list of widgets) β a list of ipywidgets or QWidget that are vertically stacked below the plot
- Returns:
In jupyter, it will display the plot in the output cell or sidecar
In Qt, it will display the Plot, toolbar, etc. as stacked widget, use Plot.widget to access it.
- Return type:
OutputContext