You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed a bug in the visualisation of maps with cartopy. The plot_map_cartopy function creates maps without geographical axis. The part of the code that results in this issue is:
if not isinstance(ax, GeoAxesSubplot):
ax = plt.subplot(ax.get_subplotspec(), projection=crs)
# cax.clear()
ax.set_axis_off()
I think this problem can be solved through the following adjustment:
if not isinstance(ax, GeoAxesSubplot):
ax.set_axis_off()
ax = plt.subplot(ax.get_subplotspec(), projection=crs)
# cax.clear()
ax.xaxis.set_visible(True)
ax.yaxis.set_visible(True)
Thanks!
The text was updated successfully, but these errors were encountered:
Hi all,
I noticed a bug in the visualisation of maps with cartopy. The plot_map_cartopy function creates maps without geographical axis. The part of the code that results in this issue is:
I think this problem can be solved through the following adjustment:
Thanks!
The text was updated successfully, but these errors were encountered: