python - Cartopy subplot ticks & axes box line formatting -


i'm using cartopy plot several areas of different sizes in different subplot arrangements (1x2, 3x4 etc.), makes quite difficult find consistent layout parameters. 1 issue longitude tick labels overlapping small areas. there way rotate them? i'm creating grid , ticks follows:

gridlines = map.gridlines(crs=crs, draw_labels=true, linewidth=linewidth, color='black', alpha=1.0, linestyle=':', zorder=13) 

the other issue downscaling geoaxes in subplot arrangement, bounding box' line thickness appears wide. there way set explicitely? here's command i'm using add each geoaxes subplot:

map = fig.add_subplot(nrows, ncols, 1 + nth_col + (ncols * nth_row), projection=ccrs.mercator()) 

unfortunately, don't think there control provided either of these.

regarding rotated ticks: care can add axis ticks, , rotate usual "axes.set_ticklabels(... rotation=x)". gridline labels not ticks, , can't -- can control position , formatting (via exposed ticker , formatter objects).

regarding outline: again not appear normal axes outline, , not respond usual axes.set_frame_on() control.
find "plt.gca().outline_path.set_linewidth" can used. guess useful not futureproof solution.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -