Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 164124c commit 042cbb6Copy full SHA for 042cbb6
1 file changed
lib/matplotlib/tests/test_agg.py
@@ -149,10 +149,10 @@ def test_long_path():
149
buff = io.BytesIO()
150
151
fig, ax = plt.subplots()
152
- with np.random.seed(0):
153
- points = np.random.rand(70000)
154
- ax.plot(points)
155
- fig.savefig(buff, format='png')
+ np.random.seed(0)
+ points = np.random.rand(70000)
+ ax.plot(points)
+ fig.savefig(buff, format='png')
156
157
158
if __name__ == "__main__":
0 commit comments