We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0079438 + ac2957d commit b8e2281Copy full SHA for b8e2281
lib/mpl_toolkits/basemap/__init__.py
@@ -23,7 +23,12 @@
23
from urllib.request import urlretrieve, urlopen
24
25
from matplotlib import __version__ as _matplotlib_version
26
-from matplotlib.cbook import dedent
+try:
27
+ from inspect import cleandoc as dedent
28
+except ImportError:
29
+ # Deprecated as of version 3.1. Not quite the same
30
+ # as textwrap.dedent.
31
+ from matplotlib.cbook import dedent
32
# check to make sure matplotlib is not too old.
33
_matplotlib_version = LooseVersion(_matplotlib_version)
34
_mpl_required_version = LooseVersion('0.98')
0 commit comments