Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 57fd362

Browse files
committed
hide numpys datetime in pylab
svn path=/trunk/matplotlib/; revision=7975
1 parent 6934781 commit 57fd362

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/matplotlib/pylab.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,3 +273,6 @@ def save(*args, **kwargs):
273273
files, we recommend numpy.savetxt. For saving numpy arrays,
274274
we recommend numpy.save, and its analog numpy.load, which are
275275
available in pylab as np.save and np.load."""
276+
277+
# don't let numpy's datetime hide stdlib
278+
import datetime

0 commit comments

Comments
 (0)