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

Commit6cfa6ed

Browse files
committed
TST: tune values in tests to be big enough / small enough
1 parent2d116eb commit6cfa6ed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎lib/matplotlib/tests/test_agg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def test_long_path():
8080
points=np.ones(100_000)
8181
points[::2]*=-1
8282
ax.plot(points)
83-
fig.savefig(buff,format='png',dpi=500)
83+
fig.savefig(buff,format='png')
8484

8585

8686
@image_comparison(['agg_filter.png'],remove_text=True)

‎lib/matplotlib/tests/test_simplification.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,8 @@ def test_start_with_moveto():
282282

283283
deftest_throw_rendering_complexity_exceeded():
284284
plt.rcParams['path.simplify']=False
285-
xx=np.arange(200000)
286-
yy=np.random.rand(200000)
285+
xx=np.arange(2_000_000)
286+
yy=np.random.rand(2_000_000)
287287
yy[1000]=np.nan
288288

289289
fig,ax=plt.subplots()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp