show#

Figure.show(autoscale=True, maintain_aspect=None, sidecar=False, sidecar_kwargs=None)[source]#

Begins the rendering event loop and shows the Figure, returns the canvas

Parameters:
  • autoscale (bool, default True) – autoscale the Scene

  • maintain_aspect (bool, default True) – maintain aspect ratio

  • sidecar (bool, default True) – display plot in a jupyterlab-sidecar, only in jupyter

  • sidecar_kwargs (dict, default None) – kwargs for sidecar instance to display plot i.e. title, layout

Returns:

In Qt or GLFW, the canvas window containing the Figure will be shown. In jupyter, it will display the plot in the output cell or sidecar.

Return type:

BaseRenderCanvas

Examples#

Simple Image

Simple Image

RGB Image

RGB Image

Image Colormap

Image Colormap

RGB Image Vmin/Vmax

RGB Image Vmin/Vmax

Image Vmin/Vmax

Image Vmin/Vmax

Heatmap or large arrays

Heatmap or large arrays

GridPlot Non-Square Example

GridPlot Non-Square Example

GridPlot Simple

GridPlot Simple

Multi-Graphic GridPlot

Multi-Graphic GridPlot

Line Plot Colormap

Line Plot Colormap

Simple Line Plot

Simple Line Plot

Line Plot Data Slicing

Line Plot Data Slicing

Lines more colormapping

Lines more colormapping

Line Plot Color Slicing

Line Plot Color Slicing

Line Stack

Line Stack

Line Collection Simple

Line Collection Simple

Line Collection Colors

Line Collection Colors

Line collections quantitative cmap

Line collections quantitative cmap

Line Collection Qualitative Colormap

Line Collection Qualitative Colormap

Line collection slicing

Line collection slicing

Line stack 3D

Line stack 3D

Iris Scatter Plot Color Slicing

Iris Scatter Plot Color Slicing

Iris Scatter Colormap

Iris Scatter Colormap

Iris Scatter Plot Data Slicing

Iris Scatter Plot Data Slicing

Scatter Plot Data Slicing

Scatter Plot Data Slicing

Scatter Plot

Scatter Plot

Scatter Colormap

Scatter Colormap

Scatter Plot Color Slicing

Scatter Plot Color Slicing

Scatter Plot Size

Scatter Plot Size

Rectangle Selectors Images

Rectangle Selectors Images

Rectangle Selectors

Rectangle Selectors

Linear Selectors Image

Linear Selectors Image

LinearRegionSelectors with LineCollection

LinearRegionSelectors with LineCollection

LinearRegionSelectors

LinearRegionSelectors

Linear Selectors

Linear Selectors

ImGUI Basics

ImGUI Basics

Simple Image Update

Simple Image Update

Scatter sizes animation

Scatter sizes animation

Simple Line Animation

Simple Line Animation

Simple Event

Simple Event

Simple 3D Line Animation

Simple 3D Line Animation

Multi-Subplot Image Update

Multi-Subplot Image Update

Scatter Animation Data

Scatter Animation Data

Scatter Animation Colors

Scatter Animation Colors

Lorenz System Animation

Lorenz System Animation

Electromagnetic Wave Animation

Electromagnetic Wave Animation