File tree 2 files changed +10
-3
lines changed
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):
448
448
def _transform_path (self , subslice = None ):
449
449
"""
450
450
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.
452
453
"""
453
454
# Masked arrays are now handled by the Path class itself
454
455
if subslice is not None :
Original file line number Diff line number Diff line change @@ -168,13 +168,19 @@ def get_transform(self):
168
168
169
169
def get_data_transform (self ):
170
170
"""
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.
172
173
"""
173
174
return artist .Artist .get_transform (self )
174
175
175
176
def get_patch_transform (self ):
176
177
"""
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.
178
184
"""
179
185
return transforms .IdentityTransform ()
180
186
You can’t perform that action at this time.
0 commit comments