mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
Fix deprecated xlabels_top and ylabels_right
Use top_labels and right_labels instead
This commit is contained in:
parent
1df14e605b
commit
441e686e0c
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
||||||
" ax.set_extent(bbox)\n",
|
" ax.set_extent(bbox)\n",
|
||||||
" ax.coastlines(resolution='50m')\n",
|
" ax.coastlines(resolution='50m')\n",
|
||||||
" gl = ax.gridlines(draw_labels=True)\n",
|
" gl = ax.gridlines(draw_labels=True)\n",
|
||||||
" gl.xlabels_top = gl.ylabels_right = False\n",
|
" gl.top_labels = gl.right_labels = False\n",
|
||||||
" gl.xformatter = LONGITUDE_FORMATTER\n",
|
" gl.xformatter = LONGITUDE_FORMATTER\n",
|
||||||
" gl.yformatter = LATITUDE_FORMATTER\n",
|
" gl.yformatter = LATITUDE_FORMATTER\n",
|
||||||
" return fig, ax"
|
" return fig, ax"
|
||||||
|
|
Loading…
Add table
Reference in a new issue