posit-dev / posit-dev/py-shiny

`Example page`: App with plot changes color after bins slider is dragged to 0

Open
#550 0 comments 0 reactions 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

Go over to the App with plot example app over here

Drag the slider on the right side of the page to 0, which will then display the error message 'bins' must be positive, when an integer

Drag the slider to any positive number now and observe the histogram color as orange. Drag it to another positive number and see it switch to blue color.

histogram changes color

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

Open the linked App with plot example and reproduce the issue by dragging the bins slider to 0, then through multiple positive values. Inspect the example's slider and histogram behavior first; done means the histogram keeps a consistent color after the error and subsequent valid slider changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.