posit-dev / posit-dev/py-shiny
Streamling plot options
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 135
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 21
Description
We implemented a streaming plotly decorator as part of the model_score example. This is a great feature because it makes plot updating much faster and more fluid. It would be great if we could do two things:
- Add a
@render.plotlydecorator which did a better job at rendering plotly than our current implementation (see #620). This could have astreamingorin_placeargument to trigger the streaming behaviour. - Investigate whether something similar would work for matplotlib plots
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the streaming plotly decorator in the model_score example from PR #650 and the current rendering discussion in #620. Determine the scope for a @render.plotly decorator and whether an optional streaming or in_place mode is appropriate, then investigate whether the same approach applies to matplotlib. Done requires an agreed design and corresponding implementation plan for both plot types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matplotlib, plotly, python
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100