polartoolkit.Figure.add_gridlines#
- Figure.add_gridlines(x_spacing=None, y_spacing=None, annotation_offset='20p')[source]#
add lat lon grid lines and annotations to a figure. Use kwargs x_spacing and y_spacing to customize the interval of gridlines and annotations.
- Parameters:
x_spacing (float, optional) ā spacing for x gridlines in degrees, by default is automatically determined by PyGMT
y_spacing (float, optional) ā spacing for y gridlines in degrees, by default is automatically determined by PyGMT
annotation_offset (str, optional) ā offset for gridline annotations, by default ā20pā
- Return type: