posit-dev / posit-dev/py-shiny

Support interactive graphs in render.plot (or otherwise without shinywidgets)

Open
#501 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.8k
Forks
135
Avg merge
2d 18h
Merged PRs (30d)
21

Description

Using an ipywidget/shinywidget to get plotly/altair/bokeh graphs feels much less intuitive than baking this support into render.plot or otherwise natively supporting interactive graphs, rather than as an interactive graph as one of many HTML-embedded widgets.

This was mentioned as a comment in #311, but I don't see an active issue on it. Reading the documentation on widgets, it sounds like there's already a lot of complexity here, so I don't know the technical hurdles, but I wanted to create an issue on it.

Contributor guide

No contributing guide indexed for this repository

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

Read the widget documentation and the discussion in #311 first, then locate the render.plot entry point. Compare how plotly, altair, and bokeh output is currently handled through ipywidget/shinywidget. Done should be defined as an agreed native path for interactive graphs and documented supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
plotly, python
Domain
data-visualization, frontend
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.