Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8c08a8c

Browse files
committed
Link to Affine2D(Base)
1 parent 1900551 commit 8c08a8c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def draw_image(self, gc, x, y, im, transform=None):
476476
im : (N, M, 4) array of `numpy.uint8`
477477
An array of RGBA pixels.
478478
479-
transform : `matplotlib.transforms.Affine2DBase`
479+
transform : `~matplotlib.transforms.Affine2DBase`
480480
If and only if the concrete backend is written such that
481481
`option_scale_image` returns ``True``, an affine transformation
482482
(i.e., an `.Affine2DBase`) *may* be passed to `draw_image`. The

lib/matplotlib/image.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def _make_image(self, A, in_bbox, out_bbox, clip_bbox, magnification=1.0,
353353
x, y : float
354354
The upper left corner where the image should be drawn, in pixel
355355
space.
356-
trans : Affine2D
356+
trans : `~matplotlib.transforms.Affine2D`
357357
The affine transformation from image to pixel space.
358358
"""
359359
if A is None:
@@ -602,7 +602,7 @@ def make_image(self, renderer, magnification=1.0, unsampled=False):
602602
x, y : float
603603
The upper left corner where the image should be drawn, in pixel
604604
space.
605-
trans : Affine2D
605+
trans : `~matplotlib.transforms.Affine2D`
606606
The affine transformation from image to pixel space.
607607
"""
608608
raise NotImplementedError('The make_image method must be overridden')

lib/matplotlib/markers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ def transformed(self, transform: Affine2D):
418418
419419
Parameters
420420
----------
421-
transform : Affine2D, default: None
421+
transform : `~matplotlib.transforms.Affine2D`, default: None
422422
Transform will be combined with current user supplied transform.
423423
"""
424424
new_marker = MarkerStyle(self)

lib/matplotlib/path.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,9 +1051,9 @@ def get_path_collection_extents(
10511051
master_transform : `.Transform`
10521052
Global transformation applied to all paths.
10531053
paths : list of `Path`
1054-
transforms : list of `.Affine2D`
1054+
transforms : list of `~matplotlib.transforms.Affine2DBase`
10551055
offsets : (N, 2) array-like
1056-
offset_transform : `.Affine2D`
1056+
offset_transform : `~matplotlib.transforms.Affine2DBase`
10571057
Transform applied to the offsets before offsetting the path.
10581058
10591059
Notes

0 commit comments

Comments
 (0)