Skip to content
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

cell focus/cursor issue when plotting to nbagg #6660

Closed
5 tasks done
croth1 opened this issue Jun 28, 2016 · 2 comments
Closed
5 tasks done

cell focus/cursor issue when plotting to nbagg #6660

croth1 opened this issue Jun 28, 2016 · 2 comments

Comments

@croth1
Copy link

croth1 commented Jun 28, 2016

To help us understand and resolve your issue please check that you have provided
the information below.

  • Matplotlib version, Python version and Platform (Windows, OSX, Linux ...)
  • How did you install Matplotlib and Python (pip, anaconda, from source ...)
  • If possible please supply a Short, Self Contained, Correct, Example
    that demonstrates the issue i.e a small piece of code which reproduces the issue
    and can be run with out any other (or as few as possible) external dependencies.
  • If this is an image generation bug attach a screenshot demonstrating the issue.
  • If this is a regression (Used to work in an earlier version of Matplotlib), please
    note where it used to work.

Issue with matplotlib-1.5.1, anaconda on OS X.

This issue is related to #4758. I am trying to understand how cell focus works after having plotted to the nbagg backend.

Here is a simple example notebook: https://gist.github.com/croth1/ebfd2171559e8fd1799b600f3a72965a

shift+enter in the first cell executes as expected and moves the cell cursor to cell 2.
shift+enter in the second cell plots, grabs the focus of cell 2 and moves the cell cursor to cell 3.
another shift+enter releases the cell focus as described in #4758, but also moves the cell cursor to cell 4.
finally shit+enter executes the empty cell 4.

Somehow navigating through the notebook just by keyboard jumps over the plot in cell 3. Any idea's why that is?

@tacaswell
Copy link
Member

See #6053 and jupyter/notebook#949

This is fixed on master by properly using the ipython widget framework.

@tacaswell
Copy link
Member

closed by #6752

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants