From afe4312981e21957aa1c362033dee4128872f03a Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sat, 31 Oct 2015 01:27:33 -0400 Subject: [PATCH] DOC: Add what's new entry for TransformedPatchPath. --- .../whats_new/2015-10-31_TransformedPatchPath.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/users/whats_new/2015-10-31_TransformedPatchPath.rst diff --git a/doc/users/whats_new/2015-10-31_TransformedPatchPath.rst b/doc/users/whats_new/2015-10-31_TransformedPatchPath.rst new file mode 100644 index 000000000000..32a0458c822d --- /dev/null +++ b/doc/users/whats_new/2015-10-31_TransformedPatchPath.rst @@ -0,0 +1,13 @@ +New TransformedPatchPath caching object +--------------------------------------- + +A newly added :class:`~matplotlib.transforms.TransformedPatchPath` provides a +means to transform a :class:`~matplotlib.patches.Patch` into a +:class:`~matplotlib.path.Path` via a :class:`~matplotlib.transforms.Transform` +while caching the resulting path. If neither the patch nor the transform have +changed, a cached copy of the path is returned. + +This class differs from the older +:class:`~matplotlib.transforms.TransformedPath` in that it is able to refresh +itself based on the underlying patch while the older class uses an immutable +path.