Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FIX: unbreak ipympl #23742

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
Aug 27, 2022
Merged

FIX: unbreak ipympl #23742

merged 1 commit into from
Aug 27, 2022

Conversation

tacaswell
Copy link
Member

PR Summary

We must not try to make a toolbar for the classes in backend_webaggcore because
ipympl inherits from these classes and requires its own toolbar to be used.

This also fixes the webagg embedding example without breaking ipympl.

closes #23699

PR Checklist

Tests and Styling

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all).

We must not try to make a toolbar for the classes in backend_webaggcore because
ipympl inherits from these classes and requires its own toolbar to be used.

This also fixes the webagg embedding example without breaking ipympl.

closes matplotlib#23699
@tacaswell tacaswell added this to the v3.6.0 milestone Aug 26, 2022
@tacaswell tacaswell marked this pull request as ready for review August 26, 2022 01:16
@tacaswell tacaswell added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Aug 26, 2022
@larsoner
Copy link
Contributor

I can confirm this fixes things for me, thanks for the quick investigation and fix @tacaswell !
Screen Shot 2022-08-26 at 11 00 55 AM

@greglucas greglucas merged commit cf4d812 into matplotlib:main Aug 27, 2022
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Aug 27, 2022
QuLogic added a commit that referenced this pull request Aug 27, 2022
…742-on-v3.6.x

Backport PR #23742 on branch v3.6.x (FIX: unbreak ipympl)
@tacaswell tacaswell deleted the fix_ipympl branch August 27, 2022 13:40
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.

[Bug]: Bug with toolbar instantiation in notebook
4 participants