We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using animation.py with blit updates to axes are not drawn correctly. Tick marks update but labels do not as explained by this SO answer.
http://stackoverflow.com/a/10704274/852487
According to the answer, to fix this problem it seems line 792 in animation.py
bg_cache[a.axes] = a.figure.canvas.copy_from_bbox(a.axes.bbox)
needs to be changed to
bg_cache[a.axes] = a.figure.canvas.copy_from_bbox(a.axes.get_figure().bbox) or perhaps bg_cache[a.axes] = a.figure.canvas.copy_from_bbox(a.axes.clipbox)?
and line 798
ax.figure.canvas.blit(ax.bbox)
changed to
ax.figure.canvas.blit(ax.clipbox)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using animation.py with blit updates to axes are not drawn correctly. Tick marks update but labels do not as explained by this SO answer.
http://stackoverflow.com/a/10704274/852487
According to the answer, to fix this problem it seems line 792 in animation.py
bg_cache[a.axes] = a.figure.canvas.copy_from_bbox(a.axes.bbox)
needs to be changed to
bg_cache[a.axes] = a.figure.canvas.copy_from_bbox(a.axes.get_figure().bbox)
or perhaps
bg_cache[a.axes] = a.figure.canvas.copy_from_bbox(a.axes.clipbox)?
and line 798
ax.figure.canvas.blit(ax.bbox)
changed to
ax.figure.canvas.blit(ax.clipbox)
The text was updated successfully, but these errors were encountered: