Skip to content

Commit 6dc9201

Browse files
committed
Update whatsnew
1 parent 7595723 commit 6dc9201

File tree

1 file changed

+27
-19
lines changed

1 file changed

+27
-19
lines changed

WHATSNEW.rst

Lines changed: 27 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,15 @@ Style changes
6767

6868
* Disable auto-reversal of dependent variable coordinates when the axis limits
6969
were previously fixed, and add documentation for this feature (:issue:`300`).
70-
* Disable auto-removal of gridlines in presence of `pcolor` plots in all matplotlib
71-
versions and silence the matplotlib 3.5 deprecation warning (:commit:`ba405ac0`).
72-
* Apply the :rcraw:`geo.round` setting when instantiating basemap projections
70+
* Apply the :rcraw:`geo.round` setting when instantiating polar basemap projections
7371
(previously this was only used for cartopy projections) (:commit:`5f1c67cc`).
7472
* Change :rcraw:`grid.labelpad` from ``4.0`` to ``3.0`` (:commit:`f95b828a`). This
7573
makes cartopy grid labels and polar axes labels a bit more compact.
7674
* Change :rcraw:`legend.handleheight` from ``1.5`` to ``2.0`` for less compressed
7775
`~matplotlib.patches.Patch` handles (e.g. with error shading) (:commit:`2a5f6b48`).
76+
* Disable matplotlib's auto-removal of gridlines in presence of `pcolor` plots in all
77+
versions and silence the matplotlib 3.5 deprecation warning (:commit:`ba405ac0`).
78+
Now gridlines appear on top of pcolor meshes by default, just like filled contours.
7879
* Change :rcraw:`mathtext.default` from ``'regular'`` to ``'it'`` and change ``'sans'``
7980
to ``'regular'`` in :rcraw:`mathtext.rm`, :rcraw:`mathtext.sf`, :rcraw:`mathtext.bf`,
8081
and :rcraw:`mathtext.it` (:commit:`323`). See below for details.
@@ -94,29 +95,38 @@ Features
9495
* Support passing lists for the `proplot.axes.Axes.format` keywords `abc` and `title`,
9596
in which case the label is picked by selecting the `~proplot.axes.Axes.number`
9697
(minus 1) entry from the list (:pr:`294`) by `Pratiman Patel`_.
97-
* Move the `extent` and `round` keywords (formerly `autoextent` and `circular` --
98-
see above) from `~proplot.axes.GeoAxes.__init__` to `proplot.axes.GeoAxes.format`,
99-
supporting toggling and passage to e.g. `~proplot.ui.subplots` (:commit:`5f1c67cc`).
100-
* Allow using the `~proplot.constructor.Proj` keyword `latlim` as Mercator projection
101-
limits and `lon0`, `lat0` aliases for `lon_0`, `lat_0` (:commit:`5f1c67cc`).
98+
* Permit disabling a-b-c labels for a particular subplot by passing e.g. ``number=None``
99+
instead of ``number=False`` (:commit:`f7308cbe`). ``None`` is a bit more intuitive.
102100
* Add modifiable `proplot.figure.Figure.tight` property to retrieve and optionally
103101
toggle the tight layout setting (:commit:`46f46c26`).
104102
* Add a top-level `~proplot.ui.subplot` command that returns a figure and a single
105103
subplot, analogous to `~proplot.ui.subplots` (:commit:`8459c24c`).
106-
* Improve performance of the "tight layout" algorithm in geographic plots by skipping
104+
* Improve performance of the "tight layout" algorithm in cartopy axes by skipping
107105
artists clipped by the axes background patch boundary (:commit:`f891e4f0`).
108106
* Permit passing `~proplot.gridspec.GridSpec` instances to
109107
`~proplot.figure.Figure.add_subplots` to quickly draw a subplot
110108
inside each gridspec slot in row or column-major order (:commit:`a9ad7429`).
111109
* Add `~proplot.gridspec.GridSpec.copy` method to re-use the same gridspec geometry
112110
for multiple figures (re-using an existing gridspec is otherwise not possible)
113111
(:commit:`8dc7fe3e`, :commit:`be410341`, :commit:`a82a512c`).
112+
* Permit adding additional outer panels or colorbars (or panels) by calling methods
113+
from the panel rather than the main subplot (:commit:`cfaeb177`).
114114
* Permit adding "filled" colorbars to non-subplots and `length` greater than one
115115
by implementing with a non-subplot child axes and inset locator (:commit:`9fc94d21`).
116-
* Permit adding additional panels (or outer legends or colorbars) by calling
117-
from the panel rather than the main subplot (:commit:`cfaeb177`).
118-
* Permit disabling a-b-c labels for a particular subplot by passing e.g.
119-
``number=None`` instead of ``number=False`` (:commit:`f7308cbe`).
116+
* Allow using the `~proplot.constructor.Proj` keyword `latlim` as Mercator projection
117+
limits and `lon0`, `lat0` aliases for `lon_0`, `lat_0` (:commit:`5f1c67cc`).
118+
* Add the `~proplot.axes.GeoAxes` `labels` side options ``'neither'``, ``'both'``, and
119+
``'all'``, analogous to Cartesian axes `tickloc` options (:commit:`0f4e03d2`).
120+
* Add the :rcraw:`grid.checkoverlap` setting to optionally disable the auto-removal of
121+
overlapping cartopy grid labels (only works in cartopy >= 0.20) (:commit:`3ff02a38`).
122+
* Add the `proplot.axes.GeoAxes.gridlines_major`, `proplot.axes.GeoAxes.gridlines_minor`
123+
properties for additional customization or debugging issues (:commit:`869f300f`).
124+
* Move the `extent` and `round` keywords (formerly `autoextent` and `circular` --
125+
see above) from `~proplot.axes.GeoAxes.__init__` to `proplot.axes.GeoAxes.format`,
126+
supporting toggling and passage to e.g. `~proplot.ui.subplots` (:commit:`5f1c67cc`).
127+
* Add :rcraw:`grid.geolabels` setting that auto-includes cartopy ``'geo'`` location
128+
when toggling labels with e.g. ``lonlabels='left'`` or ``labels=True``, and support
129+
passing it explicitly with e.g. ``labels='geo'`` (:commit:`9040cde0`).
120130
* Add the public proplot class `proplot.ticker.IndexFormatter`, since the matplotlib
121131
version was entirely removed in version 3.5 (:commit:`c2dd8b2e`).
122132
* Replace `matplotlib.ticker.IndexLocator` with `proplot.ticker.IndexLocator`,
@@ -125,12 +135,6 @@ Features
125135
* Permit picking the `~matplotlib.ticker.NullFormatter`, `~proplot.ticker.AutoFormatter`
126136
`~matplotlib.ticker.NullLocator`, and `~matplotlib.ticker.AutoLocator` by passing
127137
``True`` or ``False`` to the corresponding constructor functions (:commit:`92ae0575`).
128-
* Add the `proplot.axes.GeoAxes.gridlines_major`, `proplot.axes.GeoAxes.gridlines_minor`
129-
properties for additional customization of cartopy/basemap gridlines
130-
or debugging gridline issues (:commit:`869f300f`).
131-
* Add :rcraw:`grid.geolabels` setting that auto-includes cartopy ``'geo'`` location
132-
when toggling labels with e.g. ``lonlabels='left'`` or ``labels=True``, and support
133-
passing it explicitly with e.g. ``labels='geo'`` (:commit:`9040cde0`).
134138
* Add `proplot.ticker.DiscreteLocator` analogous to `~matplotlib.ticker.FixedLocator`
135139
that ticks from a subset of fixed values, and add a `discrete` keyword and register
136140
as ``'discrete'`` in `proplot.constructor.Locator` (:commit:`b94a9b1e`).
@@ -177,6 +181,10 @@ Bug fixes
177181
can no longer be turned on (:issue:`307`).
178182
* Fix cartopy >= 0.20 issue where user-specified longitude/latitude gridline label
179183
sides ignored due to using booleans instead of ``'x'``, ``'y'`` (:commit:`2ac40715`).
184+
* Fix cartopy >= 0.18 issue where longitude gridlines and labels 360 degrees east of
185+
gridlines on the left edge of the map are unnecessarily removed (:commit:`bcf4fde3`).
186+
* Fix cartopy <= 0.17 issue where longitude gridlines and labels east of dateline are
187+
not drawn, and remove outdated gridliner monkey patches (:commit:`aa51512b`).
180188
* Fix issue where outer colorbars are drawn twice due to adding them as both
181189
figure-wide axes and child axes (:issue:`304`).
182190
* Fix issue where silently-deprecated `aspect` parameter passed to

0 commit comments

Comments
 (0)