Skip to content

fix: match scatter error bar opacity to selected markers - #8102

Open
minwookshin wants to merge 2 commits into
plotly:mainfrom
minwookshin:fix/scatter-errorbar-selection-opacity
Open

minwookshin wants to merge 2 commits into
plotly:mainfrom
minwookshin:fix/scatter-errorbar-selection-opacity

Conversation

@minwookshin

Copy link
Copy Markdown

Description

Scatter error bars now follow marker opacity when points are selected or deselected. Fixes #7305.

The change reuses marker opacity calculations, including per-point arrays and selection overrides. Line-only and bar traces keep their existing behavior.

Screenshots

Before After
Before After

Testing

  • 104 Jasmine tests pass (errorbars and select; 20 WebGL cases excluded). Lint, typecheck, syntax and schema drift checks pass.
  • Box/lasso selection and clearing pass in Chromium, Firefox and WebKit. Animation opacity was verified in Chromium only.
  • No image baselines were regenerated; affected scatter/errorbar baselines can be reviewed from the CI artifact.

🐦 AI-assisted with OpenAI Codex (GPT-6); the contributor reviewed the code.

@camdecoster camdecoster self-assigned this Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Errorbars on scatter plots don't react to point selection

2 participants