plotly / plotly/plotly.py

provide way to get current camera position coordinates

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

Nobody has claimed this yet.

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

Description

Currently displaying plotly using a streamlit application in Python and want the user to be able to rotate and move a 3D Scatter plot to a desired camera position before writing the image to disk from the camera position that they have changed it to?

Spent a couple of hours trying to find solutions to this but I am assuming this is not possible at time of writing, will this be possible at all? Is it possible to integrate this currently if someone were to pick it up (I am happy to give it a crack if I am pointed in the right direction)?

Maybe an on_change method when the camera position is changed?

Thanks

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

No repository file or test is named. Start by tracing how Streamlit displays Plotly 3D Scatter figures and how camera changes are exposed; determine whether an on_change entry point can provide the current camera coordinates. Done means users can retrieve the changed camera position and use it when writing the image to disk.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, streamlit
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.