Skip to content

Commit ddf92f1

Browse files
authored
Merge pull request #321 from WeatherGod/fix_dep_warning
Missed a version check for get_facecolor(). Closes #316
2 parents 6071095 + cb09047 commit ddf92f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/basemap/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1749,7 +1749,7 @@ def fillcontinents(self,color='0.8',lake_color=None,ax=None,zorder=None,alpha=No
17491749
# get current axes instance (if none specified).
17501750
ax = ax or self._check_ax()
17511751
# get axis background color.
1752-
if _matplotlib_version >= '1.5':
1752+
if _matplotlib_version >= '2.0':
17531753
axisbgc = ax.get_facecolor()
17541754
else:
17551755
axisbgc = ax.get_axis_bgcolor()

0 commit comments

Comments
 (0)