@@ -111,6 +111,41 @@ at least two different bar heights, add the normal axes margins to them (in
111
111
log-scale); if there is only a single bar height, expand the axes limits by one
112
112
order of magnitude around it and then apply axes margins.
113
113
114
+
115
+ Axes labels spanning multiple rows/columns
116
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117
+
118
+ ``Axes.label_outer `` now correctly keep the x labels and tick labels visible
119
+ for Axes spanning multiple rows, as long as they cover the last row of the Axes
120
+ grid. (This is consistent with keeping the y labels and tick labels visible
121
+ for Axes spanning multiple columns as long as they cover the first column of
122
+ the Axes grid.)
123
+
124
+ The ``Axes.is_last_row `` and ``Axes.is_last_col `` methods now correctly return
125
+ True for Axes spanning multiple rows, as long as they cover the last row or
126
+ column respectively. Again this is consistent with the behavior for axes
127
+ covering the first row or column.
128
+
129
+ The ``Axes.rowNum `` and ``Axes.colNum `` attributes are deprecated, as they only
130
+ refer to the first grid cell covered by the Axes. Instead, use the new
131
+ ``ax.get_subplotspec().rowspan `` and ``ax.get_subplotspec().colspan ``
132
+ properties, which are `range ` objects indicating the whole span of rows and
133
+ columns covered by the subplot.
134
+
135
+ (Note that all methods and attributes mentioned here actually only exist on
136
+ the ``Subplot `` subclass of `Axes `, which is used for grid-positioned Axes but
137
+ not for Axes positioned directly in absolute coordinates.)
138
+
139
+ The `.GridSpec ` class gained the ``nrows `` and ``ncols `` properties as more
140
+ explicit synonyms for the parameters returned by ``GridSpec.get_geometry ``.
141
+
142
+
143
+ Locators
144
+ ~~~~~~~~
145
+ When more than `.Locator.MAXTICKS ` ticks are generated, the behavior of
146
+ `.Locator.raise_if_exceeds ` changed from raising a RuntimeError to emitting a
147
+ log at WARNING level.
148
+
114
149
nonsingular Locators
115
150
~~~~~~~~~~~~~~~~~~~~
116
151
``Locator.nonsingular `` (introduced in mpl 3.1), ``DateLocator.nonsingular ``, and
@@ -231,6 +266,10 @@ display units rather than in inches, which it previously did.
231
266
The new behavior is the correct one given the uses of ``get_canvas_width_height ``
232
267
in the rest of the codebase.
233
268
269
+ The pgf backend now includes images using ``\includegraphics `` instead of
270
+ ``\pgfimage `` if the version of ``graphicx `` is recent enough to support the
271
+ ``interpolate `` option (this is detected automatically).
272
+
234
273
`~matplotlib.cbook `
235
274
~~~~~~~~~~~~~~~~~~~
236
275
The default value of the "obj_type" parameter to ``cbook.warn_deprecated `` has
@@ -260,4 +299,3 @@ package, and Axes methods that take a ``norm`` parameter.
260
299
261
300
If extra kwargs are passed to `.LogScale `, `TypeError ` will now be
262
301
raised instead of `ValueError `.
263
-
0 commit comments