8000 Mention skew in what's new and api changes. · matplotlib/matplotlib@2f9c8d5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2f9c8d5

Browse files
committed
Mention skew in what's new and api changes.
1 parent 6a73978 commit 2f9c8d5

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

doc/api/api_changes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ original location:
144144
tuple-like if separate axis padding is required.
145145
The original behavior is preserved.
146146

147+
* Added support for skewed transforms to `matplotlib.transforms.Affine2D`,
148+
which can be created using the `skew` and `skew_deg` methods.
149+
147150

148151
.. _changes_in_1_3:
149152

doc/users/whats_new.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,17 @@ be a tuple if separate horizontal/vertical padding is needed.
121121
This is supposed to be very helpful when you have a labelled legend next to
122122
every subplot and you need to make some space for legend's labels.
123123

124+
Support for skewed transformations
125+
``````````````````````````````````
126+
The :class:`~matplotlib.transforms.Affine2D` gained additional methods
127+
`skew` and `skew_deg` to create skewed transformations. Additionally,
128+
matplotlib internals were cleaned up to support using such transforms in
129+
:class:`~matplotlib.Axes`. This transform is important for some plot types,
130+
specifically the Skew-T used in meteorology.
131+
132+
.. plot:: mpl_examples/api/skewt.py
133+
134+
124135
Date handling
125136
-------------
126137

0 commit comments

Comments
 (0)
0