@@ -40,7 +40,7 @@ Deprecated
40
40
renaming `~proplot.gridspec.GridSpec.get_subplot_geometry ` to
41
41
`~proplot.gridspec.GridSpec.get_geometry `, `~proplot.gridspec.GridSpec.get_geometry `
42
42
to `~proplot.gridspec.GridSpec.get_total_geometry ` (:commit: `52f57094 `).
43
- * Improve the `~proplot.gridspec.GridSpec ` "panel" obfuscation by having the
43
+ * Improve the `~proplot.gridspec.GridSpec ` "panel" obfuscation by having the public
44
44
`~proplot.gridspec.GridSpec ` properties ``gs.nrows ``, ``gs.ncols ``, ``gs.wratios ``,
45
45
``gs.hratios ``, ``gs.wspace ``, ``gs.hspace ``, ``gs.wpad ``, and ``gs.hpad `` refer to
46
46
the reduced non-panel geometry (:commit: `52f57094 `).
@@ -49,52 +49,59 @@ Deprecated
49
49
The new default locator `~proplot.ticker.DiscreteLocator ` means these
50
50
settings should not need to be used as much (see below).
51
51
52
+ Style changes
53
+ -------------
54
+
55
+ * Disable automatic reversal of dependent variable coordinates when axis limits
56
+ are fixed, and add documentation for this feature (:issue: `300 `).
57
+ * Use `~proplot.ticker.DiscreteLocator ` for major/minor discrete colorbar ticks instead
58
+ of `~matplotlib.ticker.FixedLocator ` and auto-update the tick selection whenever
59
+ the axes is drawn (:commit: `b94a9b1e `, :commit: `92bb937e `, :commit: `302c239e `).
60
+ * Put outer legends or colorbars on the same panel axes if their `align ` values
61
+ differ and (for colorbars only) their `length `\ s do not overlap (:commit: `91ac49b7 `).
62
+ This permits e.g. aligned "bottom left" and "bottom right" outer legends.
63
+
52
64
Features
53
65
--------
54
66
55
- * Significantly improve "tight layout" performance by skipping artists with clipping
56
- enabled and clipping paths/boxes equivalent to the subplot edge (:commit: `f891e4f0 `).
67
+ * Significantly improve "tight layout" performance in geographic plots by skipping
68
+ artists with clipping paths/boxes set to the subplot bounds (:commit: `f891e4f0 `).
57
69
* Add modifiable `proplot.figure.Figure.tight ` property to retrieve/change the
58
- " tight layout" setting (:commit: `46f46c26 `).
70
+ tight layout setting (:commit: `46f46c26 `).
59
71
* Add top-level `~proplot.ui.subplot ` command that returns a figure and a single
60
72
subplot, analogous to `~proplot.ui.subplots ` (:commit: `8459c24c `).
73
+ * Support specifying `transform ` keyword arguments as registered cartopy
74
+ projections rather than `~cartopy.crs.CRS ` instances (:commit: `c7a9fc95 `).
61
75
* Permit passing `~proplot.gridspec.GridSpec ` instances to
62
76
`~proplot.figure.Figure.add_subplots ` to quickly draw a subplot
63
77
inside each gridspec slot in row or column-major order (:commit: `a9ad7429 `).
64
78
* Add `~proplot.gridspec.GridSpec.copy ` method to re-use the same gridspec geometry
65
79
for multiple figures (re-using an existing gridspec is otherwise not possible)
66
80
(:commit: `8dc7fe3e `, :commit: `be410341 `, :commit: `a82a512c `).
67
- * Permit adding "filled" colorbars to non-subplots and specifying
68
- `length ` larger than one by implementing as plain axes whose bounds
69
- are specified by the hidden parent axes (:commit: `9fc94d21 `).
81
+ * Permit adding "filled" colorbars to non-subplots and `length ` greater than one
82
+ by implementing with a non-subplot child axes and inset locator (:commit: `9fc94d21 `).
70
83
* Permit adding additional panels (or outer legends or colorbars) by calling
71
84
from the panel rather than the main subplot (:commit: `cfaeb177 `).
72
85
* Permit disabling a-b-c labels for a particular subplot by passing e.g.
73
86
``number=None `` instead of ``number=False `` (:commit: `f7308cbe `).
74
- * Make proplot `~proplot.ticker.IndexFormatter ` public, since the matplotlib
75
- version was entirely removed in version 3.5 (:commit: `c2dd8b2e `).
76
- * Replace matplotlib `~proplot.ticker.IndexLocator ` with custom version,
77
- consistent with `~proplot.ticker.IndexFormatter `, and prevent the
78
- matplotlib limitation requiring lines to be present (:commit: `c2dd8b2e `).
79
- * Use custom locator `proplot.ticker.DiscreteLocator ` for major/minor discrete
80
- colorbar ticks instead of `~matplotlib.ticker.FixedLocator ` (:commit: `b94a9b1e `).
81
- This auto-selects ticks from a subset of levels depending on the axis length.
82
- * Refresh major/minor discrete colorbar ticks when the associated axis is drawn to
83
- update the tick selection (:commit: `92bb937e `, :commit: `302c239e `).
84
- * Register `proplot.ticker.DiscreteLocator ` as ``'discrete' `` and add keywords `index `
85
- and `discrete ` to the constructor `~proplot.constructor.Locator ` (:commit: `b94a9b1e `).
87
+ * Make `proplot.ticker.IndexFormatter ` public, since the matplotlib version
88
+ was entirely removed in version 3.5 (:commit: `c2dd8b2e `).
89
+ * Replace `matplotlib.ticker.IndexLocator ` with `proplot.ticker.IndexLocator `,
90
+ consistent with `~proplot.ticker.IndexFormatter `, and remove the limitation
91
+ requiring data to be plotted on the axis (:commit: `c2dd8b2e `).
92
+ * Add `proplot.ticker.DiscreteLocator ` analogous to `~matplotlib.ticker.FixedLocator `
93
+ that ticks from a subset of fixed values, and add a `discrete ` keyword and register
94
+ as ``'discrete' `` in `proplot.constructor.Locator ` (:commit: `b94a9b1e `).
86
95
* Auto disable minor colorbar and axis ticks when major ticks have non-numeric
87
96
labels set by `~matplotlib.ticker.FixedFormatter ` (:commit: `c747ae44 `).
88
97
* Permit passing `vmin ` and `vmax ` to `proplot.axes.Axes.colorbar `, as quick
89
98
alternative to using `norm_kw ` (:commit: `eb9565bd `).
90
99
* Permit discretizing continuous colormaps passed to `~proplot.axes.Axes.colorbar ` using
91
100
`values `, instead of ignoring `values ` when colormaps are passed (:commit: `503af4be `).
92
- * Ensure the default ticks are aligned with levels when passing discrete colormaps
93
- to `~proplot.axes.Axes.colorbar ` (:commit: `503af4be `).
101
+ * Ensure the default ticks are aligned with levels when passing discrete colormap
102
+ instances to `~proplot.axes.Axes.colorbar ` (:commit: `503af4be `).
94
103
* Emit warning when both a scalar mappable and `vmin `, `vmax `, `norm `, or `values `
95
104
are passed to `~proplot.axes.Axes.colorbar ` (:commit: `503af4be `).
96
- * Disable automatic reversal of dependent variable coordinates when axis limits
97
- are fixed, and add documentation for this feature (:issue: `300 `).
98
105
* Automatically load from "local" folders named ``proplot_cmaps ``, ``proplot_cycles ``,
99
106
``proplot_colors ``, and ``proplot_fonts `` in current or parent directories,
100
107
consistent with "local" ``proplotrc `` files (:commit: `a3a7bb33 `).
@@ -111,6 +118,8 @@ Bug fixes
111
118
and colorbars scaled by `proplot.colors.DiscreteNorm ` (:issue: `302 `).
112
119
* Fix matplotlib >= 3.5 issue where date axes are not correctly detected
113
120
due to a new default date converter (:commit: `63deee21 `).
121
+ * Fix matplotlib >= 3.4 issue where position of child axes in presence of
122
+ subfigures is incorrect (:commit: `9246835f `).
114
123
* Fix matplotlib >= 3.4 issue where alternate axes are drawn twice
115
124
due to using `~matplotlib.figure.Figure.add_child_axes ` and failing to
116
125
remove axes from the ``fig._localaxes `` stack (:issue: `303 `).
@@ -251,11 +260,15 @@ Documentation
251
260
Version 0.9.3 (2021-10-09)
252
261
==========================
253
262
254
- Features
255
- --------
263
+ Style changes
264
+ -------------
256
265
257
266
* Stop changing default background of figure when `~proplot.axes.ThreeAxes ` is present
258
267
-- instead just set the default axes background to transparent (:commit: `e933614d `).
268
+
269
+ Features
270
+ --------
271
+
259
272
* Permit passing background patch-related ``format `` keywords like
260
273
`facecolor ` on axes instantiation (:commit: `f863afd8 `).
261
274
* Add :rcraw: `land.alpha `, :rcraw: `ocean.alpha `, :rcraw: `coast.alpha `,
0 commit comments