Skip to content

Preserve step corners beside missing observations - #2514

Open
M-Colley wants to merge 1 commit into
plotly:masterfrom
M-Colley:fix/532-step-path-gaps
Open

M-Colley wants to merge 1 commit into
plotly:masterfrom
M-Colley:fix/532-step-path-gaps

Conversation

@M-Colley

@M-Colley M-Colley commented Dec 5, 2026

Copy link
Copy Markdown

Summary

Preserve the horizontal segment beside an interior missing observation when converting a ggplot step layer. Horizontal-first steps draw up to the gap and vertical-first steps start at the previous gap edge. The generated corners are skipped by hover.

Fixes #532.

Evidence

Merge impact

The change adds geometry points beside missing values on horizontal-first and vertical-first step traces.

I used Codex to prepare and test this patch.

This branch has not been deployed

No deployments
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.

geom_step truncating line too early before null value

1 participant