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

Fix image interpolation#8966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
efiring merged 8 commits intomatplotlib:masterfromtacaswell:fix_image_interpolation
Aug 31, 2017
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
TST: add flat-field test
  • Loading branch information
@tacaswell
tacaswell committedAug 31, 2017
commit1aebff1bc19d8abc54d52e31d4ebfa785d89a6cc
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletionslib/matplotlib/tests/test_image.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -780,6 +780,15 @@ def test_imshow_no_warn_invalid():
assert len(warns) == 0


@image_comparison(baseline_images=['imshow_flatfield'],
remove_text=True, style='mpl20',
extensions=['png'])
def test_imshow_flatfield():
fig, ax = plt.subplots()
im = ax.imshow(np.ones((5, 5)))
im.set_clim(.5, 1.5)


def test_empty_imshow():
fig, ax = plt.subplots()
im = ax.imshow([[]])
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp