如何减少 cartopy GeoAxes 底部的上下文源页脚?

NaN*_*NaN 2 cartopy geopandas contextily

我正在尝试将上下文底图绘制到我的 cartopy GeoAxes 之一上,但问题是底部的源页脚很大。有什么办法可以减小它的尺寸吗?谢谢!

这就是我简单地将其添加到我的轴中的方法:

import contextily as ctx

ax2=fig.add_subplot(gs01[:,0], projection=ccrs.PlateCarree())
ctx.add_basemap(ax2)
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

swa*_*hai 6

attribution_size您可以在 中设置选项ctx.add_basemap,例如:-

ctx.add_basemap(ax2, attribution_size=6)
Run Code Online (Sandbox Code Playgroud)