Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 983b318

Browse files
committed
Release note, deprecation notices, doc changes
1 parent 50d469d commit 983b318

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

doc/_static/transforms.png

-12.8 KB
Loading
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
``Affine2DBase``, ``BlendedAffine2D`` and ``CompositeAffine2D``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
In order to support 3-dimensional transforms, the following deprecations have been
5+
made. The deprecated classes can be directly replaced with the new alternatives
6+
7+
- ``Affine2DBase`` has been replaced with ``AffineImmutable``
8+
- ``BlendedAffine2D`` has been replaced with ``BlendedAffine``
9+
- ``CompositeAffine2D`` has been replaced with ``CompositeAffine``.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Added support for Non 2-dimensional transforms
2+
----------------------------------------------
3+
4+
Support has been added for transforms in matplotlib that aren't 2D.
5+
6+
``AffineImmutable`` directly replaces ``Affine2DBase``, and introduces a ``dims``
7+
keyword that specifies the dimension of the transform, defaulting to 2.
8+
9+
``BlendedAffine`` directly replaces ``BlendedAffine2D``, and can blend more than
10+
two transforms, with each transform handling a different axis.
11+
12+
``CompositeAffine`` directly replaces ``CompositeAffine2D``, and composes two Affine
13+
transforms, as long as they have the same dimensions.
14+
15+
``IdentityTransform`` can create identity matrices of any dimension, through the use of
16+
the ``dims`` keyword.

0 commit comments

Comments
 (0)