@@ -96,9 +96,10 @@ internal quotes) now cause a ValueError to be raised.
96
96
`.SymLogNorm ` now has a *base * parameter
97
97
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
98
98
99
- Previously, `.SymLogNorm ` had no *base * kwarg, and defaulted to ``base=np.e ``
100
- whereas the documentation said it was ``base=10 ``. In preparation to make
101
- the default 10, calling `.SymLogNorm ` without the new *base * kwarg emits a
99
+ Previously, `.SymLogNorm ` had no *base * keyword argument, and
100
+ defaulted to ``base=np.e `` whereas the documentation said it was
101
+ ``base=10 ``. In preparation to make the default 10, calling
102
+ `.SymLogNorm ` without the new *base * keyword argument emits a
102
103
deprecation warning.
103
104
104
105
@@ -312,3 +313,29 @@ rcParam is True.
312
313
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
313
314
314
315
The *colors * parameter will now default to :rc: `lines.color `, while previously it defaulted to 'k'.
316
+
317
+ Aggressively autoscale clim in ``ScalerMappable `` classes
318
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
319
+
320
+
321
+ Previously some plotting methods would defer autoscaling until the
322
+ first draw if only one of the *vmin * or *vmax * keyword arguments were
323
+ passed (`.Axes.scatter `, `.Axes.hexbin `, `.Axes.imshow `,
324
+ `.Axes.pcolorfast `) but would scale based on the passed data if
325
+ neither was passed (independent of the *norm * keyword arguments).
326
+ Other methods (`.Axes.pcolor `, `.Axes.pcolormesh `) always autoscaled
327
+ base on the initial data.
328
+
329
+ All of the plotting methods now resolve the unset *vmin * or *vmax *
330
+ at the initial call time using the data passed in.
331
+
332
+ If you were relying on exactly one of the *vmin * or *vmax * remaining
333
+ unset between the time when the method is called and the first time
334
+ the figure is rendered you get back the old behavior by manually setting
335
+ the relevant limit back to `None ` ::
336
+
337
+ cm_obj.norm.vmin = None
338
+ # or
339
+ cm_obj.norm.vmax = None
340
+
341
+ which will be resolved during the draw process.
0 commit comments