graphinglib.SmartFigure.__len__#

SmartFigure.__len__() int[source]#

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.