@@ -125,7 +125,7 @@ Note that they may *not* be used to share axes after any operation (e.g.,
125125drawing) has occurred on them.
126126
127127
128- Align labels to axes edges
128+ Align labels to Axes edges
129129--------------------------
130130
131131`~.axes.Axes.set_xlabel `, `~.axes.Axes.set_ylabel ` and `.ColorbarBase.set_label `
@@ -138,15 +138,14 @@ takes the rcParam based on its orientation.
138138New "extend" keyword to colors.BoundaryNorm
139139-------------------------------------------
140140
141- `~.colors.BoundaryNorm ` now has an ``extend `` keyword argument, analogous to
142- ``extend `` in `~.axes.Axes.contourf `. When set to 'both', 'min', or 'max',
143- it maps the corresponding out-of-range values to `~.colors.Colormap `
144- lookup-table indices near the appropriate ends of their range so that the
145- colors for out-of range values are adjacent to, but distinct from, their
146- in-range neighbors. The colorbar inherits the ``extend `` argument from the
147- norm, so with ``extend='both' ``, for example, the colorbar will have triangular
148- extensions for out-of-range values with colors that differ from adjacent in-range
149- colors.
141+ `~.colors.BoundaryNorm ` now has an *extend * keyword argument, analogous to
142+ *extend * in `~.axes.Axes.contourf `. When set to 'both', 'min', or 'max', it
143+ maps the corresponding out-of-range values to `~.colors.Colormap ` lookup-table
144+ indices near the appropriate ends of their range so that the colors for out-of
145+ range values are adjacent to, but distinct from, their in-range neighbors. The
146+ colorbar inherits the *extend * argument from the norm, so with
147+ ``extend='both' ``, for example, the colorbar will have triangular extensions
148+ for out-of-range values with colors that differ from adjacent in-range colors.
150149
151150 .. plot ::
152151
@@ -217,15 +216,15 @@ raising the plot window when calling `~.pyplot.show` or `~.pyplot.pause`.
217216
218217
219218
220- Imshow now coerces 3D arrays with depth 1 to 2D
221- ------------------------------------------------
219+ `` imshow `` now coerces 3D arrays with depth 1 to 2D
220+ ---------------------------------------------------
222221
223222Starting from this version arrays of size MxNx1 will be coerced into MxN
224223for displaying. This means commands like ``plt.imshow(np.random.rand(3, 3, 1)) ``
225224will no longer return an error message that the image shape is invalid.
226225
227226
228- ``Axes3D `` no longer distorts the 3d plot to match the 2d aspect ratio
227+ ``Axes3D `` no longer distorts the 3D plot to match the 2D aspect ratio
229228----------------------------------------------------------------------
230229
231230Plots made with :class: `~mpl_toolkits.mplot3d.axes3d.Axes3D ` were previously
@@ -251,12 +250,12 @@ Home/Forward/Backward buttons now work with 3D axes
251250
252251
253252
254- ``savefig() `` gained a `` backend `` keyword argument
255- ---------------------------------------------------
253+ ``savefig() `` gained a * backend * keyword argument
254+ -------------------------------------------------
256255
257- The `` backend `` keyword argument to ``savefig `` can now be used to pick the
256+ The * backend * keyword argument to ``savefig `` can now be used to pick the
258257rendering backend without having to globally set the backend; e.g. one can save
259- pdfs using the pgf backend with ``savefig("file.pdf", backend="pgf") ``.
258+ PDFs using the pgf backend with ``savefig("file.pdf", backend="pgf") ``.
260259
261260
262261Offset text is now set to the top when using ``axis.tick_top() ``
@@ -274,11 +273,11 @@ dropping the last row and column of *C*, and *x* and *y* are regarded as the
274273edges of the remaining rows and columns in *C *. However, many users want
275274*x * and *y * centered on the rows and columns of *C *.
276275
277- To accommodate this, ``shading='nearest' `` and ``shading='auto' `` are
278- new allowed strings for the `` shading `` kwarg. ``'nearest' `` will center the
279- color on *x * and *y * if *x * and *y * have the same dimensions as *C *
280- (otherwise an error will be thrown). ``shading='auto' `` will choose 'flat'
281- or 'nearest' based on the size of *X *, *Y *, *C *.
276+ To accommodate this, ``shading='nearest' `` and ``shading='auto' `` are new
277+ allowed strings for the * shading * keyword argument. ``'nearest' `` will center
278+ the color on *x * and *y * if *x * and *y * have the same dimensions as *C *
279+ (otherwise an error will be thrown). ``shading='auto' `` will choose 'flat' or
280+ 'nearest' based on the size of *X *, *Y *, *C *.
282281
283282If ``shading='flat' `` then *X *, and *Y * should have dimensions one larger
284283than *C *. If *X * and *Y * have the same dimensions as *C *, then the previous
@@ -296,20 +295,20 @@ for examples.
296295Set zorder of contour labels
297296----------------------------
298297
299- `~.axes.Axes.clabel ` now accepts a *zorder * kwarg
300- making it easier to set the *zorder * of contour labels.
301- If not specified, the default * zorder * of clabels used to always be 3
302- (i.e. the default * zorder * of ` ~.text.Text `) irrespective of the *zorder *
303- passed to `~.axes.Axes.contour `/`~.axes.Axes.contourf `.
304- The new default * zorder * for clabels has been changed to (``2 + zorder ``
305- passed to ` ~.axes.Axes.contour ` / `~.axes.Axes.contourf `).
298+ `~.axes.Axes.clabel ` now accepts a *zorder * keyword argument making it easier
299+ to set the *zorder * of contour labels. If not specified, the default * zorder *
300+ of clabels used to always be 3 (i.e. the default * zorder * of ` ~.text.Text `)
301+ irrespective of the *zorder * passed to
302+ `~.axes.Axes.contour `/`~.axes.Axes.contourf `. The new default * zorder * for
303+ clabels has been changed to (``2 + zorder `` passed to ` ~.axes.Axes.contour ` /
304+ `~.axes.Axes.contourf `).
306305
307306
308307Simple syntax to select fonts by absolute path
309308----------------------------------------------
310309
311310Fonts can now be selected by passing an absolute `pathlib.Path ` to the *font *
312- kwarg of `.Text `.
311+ keyword argument of `.Text `.
313312
314313
315314Add generalized "mathtext.fallback" rcParam
@@ -397,8 +396,8 @@ conversion (using the new epoch) is::
397396
398397
399398
400- `~.axes.Axes.set_title ` gains a y keyword argument to control auto positioning
401- ------------------------------------------------------------------------------
399+ `~.axes.Axes.set_title ` gains a * y * keyword argument to control auto positioning
400+ --------------------------------------------------------------------------------
402401
403402`~.axes.Axes.set_title ` tries to auto-position the title to avoid any
404403decorators on the top x-axis. This is not always desirable so now
@@ -416,10 +415,10 @@ Add :rc:`contour.linewidth` to rcParams
416415---------------------------------------
417416
418417The new config option :rc: `contour.linewidth ` allows to control the default
419- linewidth of contours as a float. When set to ``None ``, the linewidths fall
420- back to :rc: `lines.linewidth `. The config value is overidden as usual
421- by the `` linewidths `` argument passed to `~.axes.Axes.contour ` when
422- it is not set to ``None ``.
418+ line width of contours as a float. When set to ``None ``, the line widths fall
419+ back to :rc: `lines.linewidth `. The config value is overridden as usual by the
420+ * linewidths * argument passed to `~.axes.Axes.contour ` when it is not set to
421+ ``None ``.
423422
424423
425424The SVG backend can now render hatches with transparency
0 commit comments