salem.Map.set_lonlat_contours

Map.set_lonlat_contours(interval=None, xinterval=None, yinterval=None, add_tick_labels=True, add_xtick_labels=True, add_ytick_labels=True, max_nticks=8, **kwargs)[source]

Add longitude and latitude contours to the map.

Calling it with interval=0 will remove all contours.

Parameters:
intervalfloat

interval (in degrees) between the contours (same for lon and lat)

xintervalfloat

set a different interval for lons

yintervalfloat

set a different interval for lats

add_tick_labelbool

add ticks labels to the axes

add_xtick_labelbool

add ticks labels to the x axis

add_ytick_labelbool

add ticks labels to the y axis

max_nticksint

maximum number of contour levels (when chosen automatically). Ignore if interval is set to a value

kwargs{}

any keyword accepted by contour()