Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8520a10

Browse files
committed
Remove different handling for nonaffine transforms
1 parent398be5f commit8520a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ def _make_image(self, A, in_bbox, out_bbox, clip_bbox, magnification=1.0,
423423
# So that the image is aligned with the edge of the Axes, we want to
424424
# round up the output width to the next integer. This also means
425425
# scaling the transform slightly to account for the extra subpixel.
426-
if ((notunsampled)andt.is_affineandround_to_pixel_borderand
426+
if ((notunsampled)andround_to_pixel_borderand
427427
(out_width_base%1.0!=0.0orout_height_base%1.0!=0.0)):
428428
out_width=math.ceil(out_width_base)
429429
out_height=math.ceil(out_height_base)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp