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
atompykeeps track of all colorbars added byadd_colorbar()in a list. This list is not cleared, even if one closes the figure within which the colorbar is contained.Calling
clear_colorbarsclears that list.