Plot.show

show(plot, size=None)

Show an interactive plot.

Note that this function requires full graphical support for the NanoLab GUI. This support can be lacking on clusters or computing nodes. When generating plots on a computing node, they must then be saved in HDF5 files. The plots can then be shown on a machine with the proper graphical support.

Parameters:
  • plot (Plot | BaseLayout based | PlotModel) – The plot to show.
  • size (NoneType | 2-tuple of ints) – The plot size in pixels.
Returns:

The final layout and size.

Return type:

2-tuple of GridLayout and size tuple