Skip to content


Subversion checkout URL

You can clone with
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...
1 parent 7d20295 commit 486382602bd32301bf4f1921adde4d276fd9bf0f @ivanov ivanov committed
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,\

0 comments on commit 4863826

Please sign in to comment.
Something went wrong with that request. Please try again.