graphinglib.SmartFigureWCS.__len__#

SmartFigureWCS.__len__() int#

Gives the number of immediate contents in the SmartFigure.

For a SmartFigure used as a single plot, this is the number of Plottables in that plot. For a SmartFigure used as a layout, this is the number of immediate child SmartFigures.