Skip to content

fix: PlotDummy item color#189

Merged
brenocq merged 2 commits into
mainfrom
fix/plot-dummy-item-color
May 10, 2026
Merged

fix: PlotDummy item color#189
brenocq merged 2 commits into
mainfrom
fix/plot-dummy-item-color

Conversation

@brenocq

@brenocq brenocq commented May 10, 2026

Copy link
Copy Markdown
Owner

Fixes #186

PlotDummy is used mainly to set the legend color, but right now the color is only set if the user sets the LineColor, which is an arbitrary choice. To avoid this, this PR makes it possible to set the legend color by setting any of the color properties.

PlotDummy now picks the first non-auto color from the spec, in priority order: LineColorFillColorMarkerLineColorMarkerFillColor.

@github-actions github-actions Bot added the status:review The task is under review label May 10, 2026
@brenocq brenocq added type:fix Something isn't working prio:medium Medium priority prio:high High priority status:review The task is under review and removed status:review The task is under review prio:medium Medium priority labels May 10, 2026
@brenocq brenocq merged commit 3a3ae28 into main May 10, 2026
10 checks passed
@brenocq brenocq deleted the fix/plot-dummy-item-color branch May 10, 2026 13:10
@github-actions github-actions Bot added status:done Task completed successfully and removed status:review The task is under review labels May 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

prio:high High priority status:done Task completed successfully type:fix Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Wrong PlotDummy legend item color

1 participant