Skip to content

FIX: do not report that webagg supports blitting #19762

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 1 commit into from
Mar 24, 2021

Conversation

tacaswell
Copy link
Member

We now implement the required underlying methods (copy_from_bbox and
restore_region), but there are issues with the double buffering in nbagg,
initialization issues, and with updates to the front end being dropped.

For mpl3.4.0 over-ride the class property that checks for the required methods
until we can fix the issues with blitting.

Closes #19701

PR Summary

PR Checklist

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (run flake8 on changed files to check).
  • New features are documented, with examples if plot related.
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • Conforms to Matplotlib style conventions (install flake8-docstrings and run flake8 --docstring-convention=all).
  • New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).

@tacaswell tacaswell added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Mar 24, 2021
@tacaswell tacaswell added this to the v3.4.0 milestone Mar 24, 2021
@@ -116,6 +116,7 @@ def _timer_set_interval(self):

class FigureCanvasWebAggCore(backend_agg.FigureCanvasAgg):
_timer_cls = TimerTornado
supports_blit = False
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to add a comment that this is a workaround, or is this tracked in an issue and planned to be fixed soon after 3.4 release?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added an inline comment.

We now implement the required underlying methods (copy_from_bbox and
restore_region), but there are issues with the double buffering in nbagg,
initialization issues, and with updates to the front end being dropped.

For mpl3.4.0 over-ride the class property that checks for the required methods
until we can fix the issues with blitting.

Closes matplotlib#19701
@tacaswell tacaswell force-pushed the mnt_drop_webagg_blit_support branch from 768c676 to 0c2ae15 Compare March 24, 2021 15:54
@tacaswell
Copy link
Member Author

The issue with blitting / stale draws is tracked in #19116

@QuLogic QuLogic merged commit 7e19e74 into matplotlib:master Mar 24, 2021
@tacaswell tacaswell deleted the mnt_drop_webagg_blit_support branch March 24, 2021 19:52
@tacaswell
Copy link
Member Author

@meeseeksdev backport to v3.4.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Notebook plotting regression in 3.4.0rc*
4 participants