Skip to content

Revert "Merge pull request #5754 from blink1073/ipython-widget" #9027

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 14, 2017

Conversation

tacaswell
Copy link
Member

This reverts commit 9c100c9, reversing
changes made to 6bed1be.

The reason for doing this is that ipywidgets is still moving much too
fast for Matplotlib to keep up with. The original work done in #5754
was done against ipywidgets v4, as of now the final touches are being
put on v7.

We are reverting back to our old inject-into-the-DOM method from
nbagg, which is what is used by %matplotlib notebook.

For embedding as a 'proper' widget use
ipympl (github.com/matplotlib/jupyter-wigets) which will release on a
schedule that matches the upstream jupyter ecosystem.

closes #7695

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

…get"

This reverts commit 9c100c9, reversing
changes made to 6bed1be.

The reason for doing this is that ipywidgets is still moving much too
fast for Matplotlib to keep up with.  The original work done in matplotlib#5754
was done against ipywidgets v4, as of now the final touches are being
put on v7.

We are reverting back to our old inject-into-the-DOM method from
`nbagg`, which is what is used by `%matplotlib notebook`.

For embedding as a 'proper' widget use
ipympl (github.com/matplotlib/jupyter-wigets) which will release on a
schedule that matches the upstream jupyter ecosystem.

closes matplotlib#7695
@tacaswell tacaswell added this to the 2.1 (next point release) milestone Aug 13, 2017
@tacaswell tacaswell added Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. GUI: nbagg labels Aug 13, 2017
Copy link
Member

@efiring efiring left a comment

Choose a reason for hiding this comment

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

It works!

@dopplershift dopplershift merged commit 3045391 into matplotlib:master Aug 14, 2017
@tacaswell tacaswell deleted the api_revert_ipywidget_work branch August 15, 2017 04:16
tacaswell added a commit to tacaswell/matplotlib that referenced this pull request Oct 23, 2017
These files were moved as part of matplotlib#5754 which was reverted in matplotlib#9027,
however matplotlib#6370 fixed the paths, but was not also reverted.

Putting the js files in sub-directory makes sense, move the files
rather than revert the changes in matplotlib#6370.

fixes matplotlib#9380
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI: nbagg 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.

Jupyter magic command %matplotlib notebook fails with matplotlib2
3 participants