version number

Is there a way to obtain the version number of Matplotlib

    > from the python command line? Such as
    > "pylab.__version__'" for example, but that does not seem
    > to work.

You can do this:

  > python -c 'import matplotlib; print matplotlib.__version__'

Or you can run your matplotlib scripts with:

  > python --verbose-helpful

to get the version info and more.