Код: Выделить всё
if graticule:
gl = ax.gridlines(
draw_labels=True,
linewidth=0.8,
color='gray',
alpha=0.5,
linestyle='--',
x_inline=False,
y_inline=True
)
gl.xlocator = mticker.FixedLocator(np.arange(-180, 181, 10))
gl.ylocator = mticker.FixedLocator(np.arange(0, 91, 10))
gl.top_labels = False
gl.bottom_labels = True
gl.left_labels = True
gl.right_labels = True
gl.xlabel_style = {'size': 10, 'color': 'gray'}
gl.ylabel_style = {'size': 10, 'color': 'gray'}
Код: Выделить всё
cartopy

С добавлением ax.set_extent([0, 40, 75, 85], crs=ccrs.PlateCarree()):

Метки Latitude можно встраивать в строку.
Подробнее здесь: https://stackoverflow.com/questions/793 ... tude-labes