posit-dev / posit-dev/py-shiny

Plot brushing API in Express

Open
#993 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Currently the brush options are defined in ui.output_plot() so it doesn't seem like plot brushing can be used in Express.

 ui.output_plot("plot1", click=True, dblclick=True, hover=True, brush=True)
 

Maybe we should pass these options through @render.plot() instead so they work in express.

Related to #975.

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

Start by comparing ui.output_plot() with @render.plot() in Shiny Express, then read the discussion in related issue #975. Trace how click, dblclick, hover, and brush options are handled, and add coverage showing that brushing works in Express. Done means the documented brush option functions through the Express rendering path.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.