Skip to content
Snippets Groups Projects
Commit c5a68baf authored by Aaron Spring's avatar Aaron Spring
Browse files

circular extent stereo

parent 5cce74d6
No related branches found
No related tags found
No related merge requests found
......@@ -136,9 +136,9 @@ class CartopyMap(object):
if round:
print(
'use stereo maps and facet plots by:',
' fig,ax=plt.subplots(subplot_kw='
f"{'projection':ccrs.NorthPolarStereo()}\n"
'd.isel(time=0).plot_map(proj=proj,ax=ax)',
' fig,ax=plt.subplots(subplot_kw=',
f'{"projection":ccrs.NorthPolarStereo()}\n',
'd.isel(time=0).plot_map(proj=proj,ax=ax)'
)
if single_plot:
axm = getattr(xda.plot, plot_type)(
......@@ -175,14 +175,14 @@ class CartopyMap(object):
zorder=100,
edgecolor='k',
)
print(draw_labels, draw_lon_lat_labels, round, proj)
if draw_lon_lat_labels:
_set_lon_lat_axis(axes, proj)
else:
gl = axes.gridlines(draw_labels=draw_labels)
gl.top_labels = False
gl.right_labels = False
if proj not in stereo_maps:
if not isinstance(proj, stereo_maps):
gl.xlines = False
gl.ylines = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment