Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

revert pylab's functionality

The only thing from the now removed `` that doesn't get imported
when we changed to using `import matplotlib as mpl` and got rid of
`` altogether, is the `from matplotlib import finance`.

This commit restores that backwards-compatible functionality
  • Loading branch information...
commit 486382602bd32301bf4f1921adde4d276fd9bf0f 1 parent 7d20295
Paul Ivanov ivanov authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/matplotlib/
3  lib/matplotlib/
@@ -220,6 +220,9 @@
silent_list, iterable, dedent
import matplotlib as mpl
+# make module available for backwards compatability, in case folks
+# using pylab interface depended on not having to import it
from matplotlib.dates import date2num, num2date,\
datestr2num, strpdate2num, drange,\
Please sign in to comment.
Something went wrong with that request. Please try again.