Skip to content

Commit

Permalink
Merge pull request #496 from joernu76/issue495
Browse files Browse the repository at this point in the history
Replace deprecated dedent function by a similar function.
  • Loading branch information
WeatherGod authored Aug 4, 2020
2 parents 246dd6c + 0aa6b53 commit acfa006
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/mpl_toolkits/basemap/proj.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
import numpy as np
import pyproj
import math
from matplotlib.cbook import dedent
try:
from inspect import cleandoc as dedent
except ImportError:
# Deprecated as of version 3.1. Not quite the same
# as textwrap.dedent.
from matplotlib.cbook import dedent

__version__ = '1.2.2'
_dg2rad = math.radians(1.)
Expand Down

0 comments on commit acfa006

Please sign in to comment.