-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix resizing in nbAgg. #19746
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
Fix resizing in nbAgg. #19746
Conversation
The WebSocket wrapper around the IPython comm does not define `readyState`, and so resizes are never forwarded to the Python side.
How do we test this? Is this @ianhi issue? |
@jklymak how do you mean? I think this is a follow up to: #19131. In particular this commit: 725e908 which changed things in the webagg js which nbagg relies on.
Run the UAT test in One thing that I've been adding for lots of repos working with widgets is a github bot that comments on PRs with a binder link. In this case that link is: with the more general case described here: https://mybinder.readthedocs.io/en/latest/howto/gh-actions-badges.html I'll bet that that script could be modified to check if any files in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me
@meseeksdev backport to v3.4.x |
@meeseeksdev backport to v3.4.x |
…746-on-v3.4.x Backport PR #19746 on branch v3.4.x (Fix resizing in nbAgg.)
PR Summary
The WebSocket wrapper around the IPython comm does not define
readyState
, and so resizes are never forwarded to the Python side.PR Checklist
pytest
passes).flake8
on changed files to check).flake8-docstrings
and runflake8 --docstring-convention=all
).doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).