8000 DOC: Fix some release note issues from review · matplotlib/matplotlib@c7df67e · GitHub
[go: up one dir, main page]

Skip to content

Commit c7df67e

Browse files
committed
DOC: Fix some release note issues from review
1 parent 1d1b446 commit c7df67e

File tree

3 files changed

+12
-27
lines changed

3 files changed

+12
-27
lines changed

doc/api/prev_api_changes/api_changes_3.9.0/behaviour.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,6 @@ Boxplots now ignore masked data points
2727
`~matplotlib.axes.Axes.boxplot` and `~matplotlib.cbook.boxplot_stats` now ignore any
2828
masked points in the input data.
2929

30-
Default behavior of ``hexbin`` with *C* provided requires at least 1 point
31-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32-
33-
The behavior changed in 3.8.0 to be inclusive of *mincnt*. However that resulted in
34-
errors or warnings with some reduction functions, so now the default is to require at
35-
least 1 point to call the reduction function. This effectively restores the default
36-
behavior to match that of Matplotlib 3.7 and before.
37-
3830
``axhspan`` and ``axvspan`` now return ``Rectangle``\s, not ``Polygon``\s
3931
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4032

doc/api/prev_api_changes/api_changes_3.9.0/deprecations.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
Deprecations
22
------------
33

4-
``contour`` deprecations reverted
5-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6-
7-
``contour.allsegs``, ``contour.allkinds``, and ``contour.find_nearest_contour`` are no
8-
longer marked for deprecation.
9-
104
``plot_date``
115
^^^^^^^^^^^^^
126

doc/users/prev_whats_new/whats_new_3.9.0.rst

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,13 @@ Or as a single string to each individual `.Axes.boxplot`:
7575
Percent sign in pie labels auto-escaped with ``usetex=True``
7676
------------------------------------------------------------
7777

78-
It is common, with `.Axes.pie`, to specify labels that include a percent sign
79-
(``%``), which denotes a comment for LaTeX. When enabling LaTeX with
80-
:rc:`text.usetex` or passing ``textprops={"usetex": True}``, this would cause
81-
the percent sign to disappear.
78+
It is common, with `.Axes.pie`, to specify labels that include a percent sign (``%``),
79+
which denotes a comment for LaTeX. When enabling LaTeX with :rc:`text.usetex` or passing
80+
``textprops={"usetex": True}``, this used to cause the percent sign to disappear.
8281

83-
Now, the percent sign is automatically escaped (by adding a preceding
84-
backslash) so that it appears regardless of the ``usetex`` setting. If you have
85-
pre-escaped the percent sign, this will be detected, and remain as is.
82+
Now, the percent sign is automatically escaped (by adding a preceding backslash) so that
83+
it appears regardless of the ``usetex`` setting. If you have pre-escaped the percent
84+
sign, this will be detected, and remain as is.
8685

8786
``hatch`` parameter for stackplot
8887
---------------------------------
@@ -154,7 +153,7 @@ Setting the parameter *side* to 'low' or 'high' allows to only plot one half of
154153
ax.axhspan(.8, .9, fc="C1", alpha=.5)
155154
ax.axhspan(.6, .7, .8, .9, fc="C2", alpha=.5)
156155

157-
subplot titles can now be automatically aligned
156+
Subplot titles can now be automatically aligned
158157
-----------------------------------------------
159158

160159
Subplot axes titles can be misaligned vertically if tick labels or xlabels are placed at
@@ -163,7 +162,7 @@ will now align the titles vertically.
163162

164163
.. plot::
165164
:include-source:
166-
:alt: A figure with two Axes side-by-side, the second of which with ticks on top. The Axes titles and x-labels ppear unaligned with each other due to these ticks.
165+
:alt: A figure with two Axes side-by-side, the second of which with ticks on top. The Axes titles and x-labels appear unaligned with each other due to these ticks.
167166

168167
fig, axs = plt.subplots(1, 2, layout='constrained')
169168

@@ -205,7 +204,7 @@ Toggle minorticks on Axis
205204
-------------------------
206205

207206
Minor ticks on an `~matplotlib.axis.Axis` can be displayed or removed using
208-
`~matplotlib.axis.Axis.minorticks_on` and `~matplotlib.axis.Axis.minorticks_off`; e.g.:
207+
`~matplotlib.axis.Axis.minorticks_on` and `~matplotlib.axis.Axis.minorticks_off`; e.g.,
209208
``ax.xaxis.minorticks_on()``. See also `~matplotlib.axes.Axes.minorticks_on`.
210209

211210
``StrMethodFormatter`` now respects ``axes.unicode_minus``
@@ -228,7 +227,7 @@ if :rc:`axes.unicode_minus` is set.
228227
Figure, Axes, and Legend Layout
229228
===============================
230229

231-
Subfigures have now controllable zorders
230+
Subfigures now have controllable zorders
232231
----------------------------------------
233232

234233
Previously, setting the zorder of a subfigure had no effect, and those were plotted on
@@ -297,7 +296,7 @@ automatically added.
297296

298297
.. plot::
299298
:include-source:
300-
:alt: Example of the new behavior of 3D axis limits, and how setting the rcparam reverts to the old behavior.
299+
:alt: Example of the new behavior of 3D axis limits, and how setting the rcParam reverts to the old behavior.
301300

302301
fig, axs = plt.subplots(1, 2, subplot_kw={'projection': '3d'})
303302

@@ -406,5 +405,5 @@ object without requiring a full re-draw.
406405
NonUniformImage now has mouseover support
407406
-----------------------------------------
408407

409-
When mousing over a `~matplotlib.image.NonUniformImage` the data values are now
408+
When mousing over a `~matplotlib.image.NonUniformImage`, the data values are now
410409
displayed.

0 commit comments

Comments
 (0)
0