graphinglib.SmartFigureWCS.is_single_subplot#

property SmartFigureWCS.is_single_subplot: bool#

Whether the SmartFigure currently behaves as a single plot.

This is useful to determine if the SmartFigure can directly host Plottables and twin axes or if it currently behaves as a layout containing child SmartFigures.

Note

This property is used to verify if custom legend elements can be added to the SmartFigure even if the general_legend is set to False.