File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -75,10 +75,10 @@ def test_marker_with_nan():
75
75
76
76
def test_long_path ():
77
77
buff = io .BytesIO ()
78
-
79
- fig , ax = plt .subplots ()
80
- np .random . seed ( 0 )
81
- points = np . random . rand ( 70000 )
78
+ fig = Figure ()
79
+ ax = fig .subplots ()
80
+ points = np .ones ( 100_000 )
81
+ points [:: 2 ] *= - 1
82
82
ax .plot (points )
83
83
fig .savefig (buff , format = 'png' )
84
84
Original file line number Diff line number Diff line change @@ -305,8 +305,8 @@ def test_start_with_moveto():
305
305
306
306
def test_throw_rendering_complexity_exceeded ():
307
307
plt .rcParams ['path.simplify' ] = False
308
- xx = np .arange (200000 )
309
- yy = np .random .rand (200000 )
308
+ xx = np .arange (2_000_000 )
309
+ yy = np .random .rand (2_000_000 )
310
310
yy [1000 ] = np .nan
311
311
312
312
fig , ax = plt .subplots ()
You can’t perform that action at this time.
0 commit comments