You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works until the init() and animate() functions return more than one line (uncomment the return values to checck).
I could trace the call back to FigureCanvasGTK3Agg.blit() in backend_gtk3agg.py. Line 90 is the last one called and throws a segmentation fault.
This happens on Ubuntu 12.04, 13.10 and 14.04. Both with Python 2 and Python 3.
The text was updated successfully, but these errors were encountered:
I found and fixed the issue. Matplotlib tried to convert the original GTK cairo context to the cairocffi context for each bbox in the queue. So it worked for just one subplot, but failed on multiple subplots because the context was already converted. The pull request fixes this by just converting it once in the draw_event, instead of the loop.
I'm running latest master of matplotlib to enable animations with the Agg backend through cairocffi, but am having issues with multiple subplots.
Here is some modified code from the examples to show the issue:
This works until the init() and animate() functions return more than one line (uncomment the return values to checck).
I could trace the call back to FigureCanvasGTK3Agg.blit() in backend_gtk3agg.py. Line 90 is the last one called and throws a segmentation fault.
This happens on Ubuntu 12.04, 13.10 and 14.04. Both with Python 2 and Python 3.
The text was updated successfully, but these errors were encountered: