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

Skip to content

Commit 24c1417

Browse files
committed
Merge pull request #1637 from jakevdp/rel_import
Fixed pylab for python3.
2 parents ce2da6b + b8d1953 commit 24c1417

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/pylab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
from __future__ import print_function
217217
import sys, warnings
218218

219-
from cbook import flatten, is_string_like, exception_to_str, \
219+
from matplotlib.cbook import flatten, is_string_like, exception_to_str, \
220220
silent_list, iterable, dedent
221221

222222
from matplotlib import mpl # pulls in most modules

0 commit comments

Comments
 (0)