-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Guard against too-large figures #6666
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
Conversation
Do we want to keep waiting for the macos test to start? I think this all looks good to me. |
@WeatherGod It looks like there is an issue with the OSX travis instances at the moment https://www.traviscistatus.com/ IMHO it's fine to merge this as is
|
This should backport to v2.x, but what about v1.5.x? |
I vote for 1.5.x too since the bug has come up a number of times now on 1.5.1 and we should try to avoid crashing bugs as much as possible. |
so, do I cherry-pick to both branches, or just one of them and everything gets merged around later? |
Normally 1.5.x will be merged into 2.x which will be merged into master, I guess @tacaswell should have final say on if this goes into 1.5.x since he will have to do the release. |
👍 on all the way back to 1.5.x |
ok, backporting this to v1.5.x brings up a merge conflict in the tests. Seems like it wants to merge in the AGG filter tests. I left them out (keeping only the test_too_large_image()). How well will that go over for the merge to v2.x? |
Those sorts of things tend to go ok. On Wed, Jun 29, 2016 at 12:03 PM Benjamin Root notifications@github.com
|
Guard against too-large figures
forgot to note: backported to v1.5.x via 84f3a6f. I'll leave it as an exercise for the more experienced to handle the merge over to v2.x. |
I have done the merge to 2.x and master |
Agg buffers must have a max size of 2^16 pixels in each dimension. This guards against that (and related segfaults from allocating too much memory).
Fixes ipython/ipython#9676