plotly / plotly/plotly.R

provide a way to retrieve plot attributes in shiny

Open
#1,390 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement shiny
Dominant language
R
Stars
2.7k
Forks
641
PR merge metrics
No merged PRs in 30d

Description

It seems there are a lot of shiny-related problems that could be made easier by being able to retrieve the current state of a plot.

Maybe this could have an API that is similar in feel to plotlyProxy()

plotlyState("outputId", session, ...)

where ... could be a jq-like path to get at certain attributes

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

Start by reading the existing plotlyProxy() API and the Shiny integration in plotly.R. Determine which current plot attributes should be exposed and how the proposed jq-like path would work. Done means a defined plotlyState() interface can retrieve the requested state from a Shiny plot output.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, r
Domain
api, data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.