Layout Figures in Subplots

../../../../_images/figuresubplots.svg

Layout a list of Figures in a Subplot

Documentation

Layout the Figures in a list of Figures into subplots.

The number of rows and columns is automatically adjusted to an approximate square. Empty axes in a non-empty row will be not shown.

Definition

Input ports:
input

[figure]

List of Figures

Output ports:
figure

figure

A Figure with several subplot axes

Configuration:
Number of rows (0 = best): (rows)

Specify the number of rows. 0 optimizes to fit all figures. If rows and columns are 0, the axes layout will be approximately square.

Number of columns (0 = best): (columns)

Specify the number of columns. 0 optimizes to fit all figures. If rows and columns are 0, the axes layout will be approximately square.

Auto recolor (recolor)

Specify if artists should be assigned new colors automatically to prevent duplicate colors.

Make first colorbar global (join_colorbars)

If checked, the colorbar from the first subplot is treated as a global colorbar valid for all subplots.

Make first legend global (join_legends)

If checked, the legend(s) in the first subplot are treated as global legends valid for all subplots.

Share X axes (share_x_axes)

If None, each subplot has an independent X axis. Othewise, subplots will share X axis, meaning that zooming/panning in one subplot also affects other subplots.

Share Y axes (share_y_axes)

If None, each subplot has an independent Y axis. Othewise, subplots will share Y axis, meaning that zooming/panning in one subplot also affects other subplots.

class node_figure.SubplotFigures[source]

Example flows