File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -448,7 +448,8 @@ def recache(self, always=False):
448448 def _transform_path (self , subslice = None ):
449449 """
450450 Puts a TransformedPath instance at self._transformed_path,
451- all invalidation of the transform is then handled by the TransformedPath instance.
451+ all invalidation of the transform is then handled by the
452+ TransformedPath instance.
452453 """
453454 # Masked arrays are now handled by the Path class itself
454455 if subslice is not None :
Original file line number Diff line number Diff line change @@ -168,13 +168,19 @@ def get_transform(self):
168168
169169 def get_data_transform (self ):
170170 """
171- Return the :class:`~matplotlib.transforms.Transform` ... I'm not sure
171+ Return the :class:`~matplotlib.transforms.Transform` instance which
172+ maps data coordinates to physical coordinates.
172173 """
173174 return artist .Artist .get_transform (self )
174175
175176 def get_patch_transform (self ):
176177 """
177- Return the :class:`~matplotlib.transforms.Transform` ... I'm not sure
178+ Return the :class:`~matplotlib.transforms.Transform` instance which
179+ takes patch coordinates to data coordinates.
180+
181+ For example, one may define a patch of a circle which represents a
182+ radius of 5 by providing coordinates for a unit circle, and a
183+ transform which scales the coordinates (the patch coordinate) by 5.
178184 """
179185 return transforms .IdentityTransform ()
180186
You can’t perform that action at this time.
0 commit comments