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

Skip to content

Commit d144535

Browse files
committed
Link to Affine2D(Base)
1 parent 6d617e1 commit d144535

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
@@ -472,7 +472,7 @@ def draw_image(self, gc, x, y, im, transform=None):
472472
im : (N, M, 4) array-like of `~numpy.uint8`
473473
An array of RGBA pixels.
474474
475-
transform : `matplotlib.transforms.Affine2DBase`
475+
transform : `~matplotlib.transforms.Affine2DBase`
476476
If and only if the concrete backend is written such that
477477
`option_scale_image` returns ``True``, an affine transformation
478478
(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
@@ -1057,9 +1057,9 @@ def get_path_collection_extents(
10571057
master_transform : `.Transform`
10581058
Global transformation applied to all paths.
10591059
paths : list of `Path`
1060-
transforms : list of `.Affine2D`
1060+
transforms : list of `~matplotlib.transforms.Affine2DBase`
10611061
offsets : (N, 2) array-like
1062-
offset_transform : `.Affine2D`
1062+
offset_transform : `~matplotlib.transforms.Affine2DBase`
10631063
Transform applied to the offsets before offsetting the path.
10641064
10651065
Notes

0 commit comments

Comments
 (0)