lair.geo.add_latlon_ticks#
- lair.geo.add_latlon_ticks(ax, extent, x_rotation=0, labelsize=None, more_lon_ticks=0, more_lat_ticks=0)[source]#
Add latitude and longitude ticks to the map.
- Parameters:
ax (plt.Axes) – Axes object
extent (list[float]) – Extent of the map. [minx, maxx, miny, maxy]
x_rotation (int, optional) – Rotation of the longitude labels, by default 0
labelsize (int, optional) – Font size of the labels, by default None
more_lon_ticks (int, optional) – Number of additional longitude ticks, by default 0
more_lat_ticks (int, optional) – Number of additional latitude ticks, by default 0
- Returns:
None
- Return type:
None