|
29 | 29 | _GeoAxes = Projection = object |
30 | 30 |
|
31 | 31 | try: |
32 | | - import mpl_toolkits.basemap as mbasemap |
33 | 32 | from mpl_toolkits.basemap import Basemap |
34 | 33 | except ModuleNotFoundError: |
35 | | - mbasemap = None |
36 | 34 | Basemap = object |
37 | 35 |
|
38 | 36 | __all__ = ['GeoAxes'] |
|
95 | 93 | lonminorlines_kw, latminorlines_kw : optional |
96 | 94 | Aliases for `lonminorlocator_kw`, `latminorlocator_kw`. |
97 | 95 | lonminorlocator_kw, latminorlocator_kw : optional |
98 | | - As with `lonlocator_kw` and `latlocator_kw` but for the "minor" gridlines. |
99 | | -labels : bool, str, or sequence, default: |
100 | | - Sets `lonlabels` and `latlabels` to the same value. To draw |
101 | | - labels by default use e.g. ``pplt.rc['grid.labels'] = True``. |
| 96 | + As with `lonlocator_kw`, and `latlocator_kw` but for the "minor" gridlines. |
102 | 97 | lonlabels, latlabels, labels : str, bool, or sequence, :rc:`grid.labels` |
103 | 98 | Whether to add non-inline longitude and latitude gridline labels, and on |
104 | 99 | which sides of the map. Use the keyword `labels` to set both at once. The |
|
132 | 127 | %(units.pt)s |
133 | 128 | dms : bool, default: :rc:`grid.dmslabels` |
134 | 129 | *For cartopy axes only.* |
135 | | - Whether the default locators and formatters should use "minutes" and "seconds" for |
136 | | - gridline labels on small scales rather than decimal degrees. Setting this to |
137 | | - ``False`` is equivalent to ``ax.format(lonlocator='deglon', latlocator='deglon')`` |
| 130 | + Whether the default locators and formatters should use "minutes" and "seconds" |
| 131 | + for gridline labels on small scales rather than decimal degrees. Setting this to |
| 132 | + ``False`` is equivalent to ``ax.format(lonlocator='deglon', latlocator='deglat')`` |
138 | 133 | and ``ax.format(lonformatter='deglon', latformatter='deglat')``. |
139 | 134 | lonformatter, latformatter : formatter-spec, optional |
140 | 135 | Formatter used to style longitude and latitude gridline labels. |
141 | | - Passed to the `~proplot.constructor.Formatter` constructor. Can |
142 | | - be string, list of string, or `matplotlib.ticker.Formatter` instance. |
| 136 | + Passed to the `~proplot.constructor.Formatter` constructor. Can be |
| 137 | + string, list of string, or `matplotlib.ticker.Formatter` instance. |
143 | 138 |
|
144 | 139 | For basemap or cartopy < 0.18, the defaults are ``'deglon'`` and |
145 | 140 | ``'deglat'``, which correspond to `~proplot.ticker.SimpleFormatter` |
|
0 commit comments