Skip to content

Commit 38782e3

Browse files
committed
Merge pull request #5371 from QuLogic/transformedpatchpath-doc
DOC: Add what's new entry for TransformedPatchPath.
2 parents aaa34e0 + afe4312 commit 38782e3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
New TransformedPatchPath caching object
2+
---------------------------------------
3+
4+
A newly added :class:`~matplotlib.transforms.TransformedPatchPath` provides a
5+
means to transform a :class:`~matplotlib.patches.Patch` into a
6+
:class:`~matplotlib.path.Path` via a :class:`~matplotlib.transforms.Transform`
7+
while caching the resulting path. If neither the patch nor the transform have
8+
changed, a cached copy of the path is returned.
9+
10+
This class differs from the older
11+
:class:`~matplotlib.transforms.TransformedPath` in that it is able to refresh
12+
itself based on the underlying patch while the older class uses an immutable
13+
path.

0 commit comments

Comments
 (0)