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

Commite3b777f

Browse files
committed
API/TST: update test image for new log clipping behavior
1 parentb81b323 commite3b777f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎lib/matplotlib/tests/test_path.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,15 @@ def test_path_clipping():
8787
xy,facecolor='none',edgecolor='red',closed=True))
8888

8989

90-
@image_comparison(baseline_images=['semi_log_with_zero'],extensions=['png'])
90+
@image_comparison(baseline_images=['semi_log_with_zero'],extensions=['png'],
91+
style='mpl20')
9192
deftest_log_transform_with_zero():
9293
x=np.arange(-10,10)
9394
y= (1.0-1.0/(x**2+1))**20
9495

9596
fig,ax=plt.subplots()
96-
ax.semilogy(x,y,"-o",lw=15)
97+
ax.semilogy(x,y,"-o",lw=15,markeredgecolor='k')
98+
ax.set_ylim(1e-7,1)
9799
ax.grid(True)
98100

99101

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp