Skip to content

cell focus/cursor issue when plotting to nbagg #6660

Closed

Description

@croth1

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?

Activity

  1. tacaswell commented on Jun 28, 2016

    @tacaswell
    Member

    See #6053 and jupyter/notebook#949

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

  2. tacaswell commented on Jul 19, 2016

    @tacaswell
    Member

    closed by #6752

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions