Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I reduce the contextily source footer at the bottom of a cartopy GeoAxes?

I'm attempting to plot a contextily basemap onto one of my cartopy GeoAxes, but the problem is the source footer at the bottom is HUGE. Is there any way to decrease its size? Thanks!

This is how I simply add it to my axes:

import contextily as ctx

ax2=fig.add_subplot(gs01[:,0], projection=ccrs.PlateCarree())
ctx.add_basemap(ax2)

enter image description here

like image 499
NaN Avatar asked Sep 17 '25 03:09

NaN


1 Answers

You can set option attribution_size in ctx.add_basemap, for example:-

ctx.add_basemap(ax2, attribution_size=6)
like image 199
swatchai Avatar answered Sep 19 '25 13:09

swatchai