plotly / plotly/plotly.py

right click context menu hidden when panning in line3d

Open
#3,045 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug P3
Dominant language
Python
Stars
18.8k
Forks
2.8k
Avg merge
16h 26m
Merged PRs (30d)
21

Description

Execute in Jupyter Lab:

import plotly.express as px

px.line_3d(x=[0, 1], y=[1, 2], z=[1, 4])

Right click to pan in the plot. The Jupyter Lab context menu opens and obstructs the plot, which is annoying.

I always thought there is no other way, but recently I discovered that this does not happen with k3d.

Here ist an example which you can open in binder.

I dont know why this happens.

Best regards
Julian

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Python snippet in Jupyter Lab and compare the interaction with the linked K3D example notebook. Trace the line3d pan interaction and the Jupyter Lab context-menu behavior; done means right-click panning no longer leaves a context menu obstructing the plot.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.