Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 983b318

Browse filesBrowse files
committed
Release note, deprecation notices, doc changes
1 parent 50d469d commit 983b318
Copy full SHA for 983b318

File tree

3 files changed

+25
-0
lines changed
Filter options

3 files changed

+25
-0
lines changed

‎doc/_static/transforms.png

Copy file name to clipboard
-12.8 KB
Loading
+9Lines 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``.
+16Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.