matplotlib subpackages
If we pick up our pkg_check.py
file provided in the code bundle and change the code to list the matplotlib subpackages, we get the following result:
matplotlib version 1.3.1 matplotlib.axes matplotlib.backends matplotlib.compat matplotlib.delaunay DESCRIPTION :Author: Robert Kern <robert.kern@gmail.com> :Copyright: Copyright 2005 Robert Kern. :License: BSD-style license. See LICENSE.tx matplotlib.projections matplotlib.sphinxext matplotlib.style matplotlib.testing matplotlib.tests matplotlib.tri
The subpackage names are pretty self-explanatory. Backends refers to the way the end result is output. This can be one of several file formats or on the screen in a graphical user interface. For completeness, refer to the following snippet with the changed lines in pkg_check.py
:
import matplotlib as mpl print "matplotlib version", mpl.__version__ print_desc("matplotlib", mpl.__path__)