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():
7575
7676def test_long_path ():
7777 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
8282 ax .plot (points )
8383 fig .savefig (buff , format = 'png' )
8484
Original file line number Diff line number Diff line change @@ -305,8 +305,8 @@ def test_start_with_moveto():
305305
306306def test_throw_rendering_complexity_exceeded ():
307307 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 )
310310 yy [1000 ] = np .nan
311311
312312 fig , ax = plt .subplots ()
You can’t perform that action at this time.
0 commit comments