Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

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 (andpytest passes).
  • IsFlake 8 compliant (runflake8 on changed files to check).
  • New features are documented, with examples if plot related.
  • Documentation is sphinx and numpydoc compliant (the docs shouldbuild without error).
  • Conforms to Matplotlib style conventions (installflake8-docstrings and runflake8 --docstring-convention=all).
  • New features have an entry indoc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented indoc/api/next_api_changes/ (follow instructions in README.rst there).

@tacaswelltacaswell added the Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. labelMar 24, 2021
@tacaswelltacaswell added this to thev3.4.0 milestoneMar 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
MemberAuthor

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 andrestore_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 methodsuntil we can fix the issues with blitting.Closesmatplotlib#19701
@tacaswelltacaswellforce-pushed themnt_drop_webagg_blit_support branch from768c676 to0c2ae15CompareMarch 24, 2021 15:54
@tacaswell
Copy link
MemberAuthor

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

@QuLogicQuLogic merged commit7e19e74 intomatplotlib:masterMar 24, 2021
@tacaswelltacaswell deleted the mnt_drop_webagg_blit_support branchMarch 24, 2021 19:52
@tacaswell
Copy link
MemberAuthor

@meeseeksdev backport to v3.4.x

meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestMar 24, 2021
timhoffm added a commit that referenced this pull requestMar 24, 2021
…762-on-v3.4.xBackport PR#19762 on branch v3.4.x (FIX: do not report that webagg supports blitting)
@ianhiianhi mentioned this pull requestApr 25, 2021
4 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@timhoffmtimhoffmtimhoffm left review comments

@QuLogicQuLogicQuLogic approved these changes

@jklymakjklymakjklymak approved these changes

Assignees
No one assigned
Labels
Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Milestone
v3.4.0
Development

Successfully merging this pull request may close these issues.

Notebook plotting regression in 3.4.0rc*
4 participants
@tacaswell@QuLogic@jklymak@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp