8000 Fix path length limit by mdboom · Pull Request #4408 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Fix path length limit #4408

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 10, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add long path test
  • Loading branch information
mdboom committed Jun 10, 2015
commit 164124cf8b2941687b22cbc1dba9c9c317acfaf1
11 changes: 11 additions & 0 deletions lib/matplotlib/tests/test_agg.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,17 @@ def test_marker_with_nan():
fig.savefig(buf, format='png')


@cleanup
def test_long_path():
buff = io.BytesIO()

fig, ax = plt.subplots()
with np.random.seed(0):
points = np.random.rand(70000)
ax.plot(points)
fig.savefig(buff, format='png')


if __name__ == "__main__":
import nose
nose.runmodule(argv=['-s', '--with-doctest'], exit=False)
0