set_auto_nο
- GridLines.set_auto_n(auto_n)ο
Set the number of (auto) gridlines to draw in the currently visible extent.
Note: this is an approximate value!
- Parameters:
auto_n (int or tuple of int) β The (rough) number of gridlines to use when evaluating the automatic grid-spacing. To use different numbers of gridlines in each direction, provide a tuple of ints, e.g.: (n_lon, n_lat).