atompy.clear_colorbars#

atompy.clear_colorbars()[source]#

Clear reference to all colorbars that were created by add_colorbar().

You probably never have to call this.

Notes

atompy keeps track of all colorbars added by add_colorbar() in a list. This list is not cleared, even if one closes the figure within which the colorbar is contained.

Calling clear_colorbars clears that list.