Fix xlabel_top and ylabel_right deprecation

This commit is contained in:
srcarter3 2020-09-03 17:10:49 -06:00 committed by GitHub
parent b961938a1e
commit f93bdd8d36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,7 +151,8 @@
" fig, ax = plt.subplots(figsize=(16,12),subplot_kw=dict(projection=proj))\n",
" ax.set_extent(bbox)\n",
" gl = ax.gridlines(draw_labels=True, color='#e7e7e7')\n",
" gl.xlabels_top = gl.ylabels_right = False\n",
" gl.top_labels = gl.right_labels
= False\n",
" gl.xformatter = LONGITUDE_FORMATTER\n",
" gl.yformatter = LATITUDE_FORMATTER\n",
" return fig, ax\n",