Repository navigation
Conversation
A marker.color array of color strings skipped the colorscale path. lineGroupStyle then left the stroke unset, so every arrow drew black. Co-authored-by: Bennett Payoyo <[email protected]>
The entry uses a placeholder number until the upstream pull request exists. Rename draftlogs/XXXX_fix.md to that pull request number. Co-authored-by: Bennett Payoyo <[email protected]>
Runtime downloadImage treats a missing opts as {}.
toImage already marks opts optional; align downloadImage.
Fixes plotly#8072
Co-authored-by: Bennett Payoyo <[email protected]>
…-optional-8072 fix(types): make downloadImage opts optional
…-typed-array fix: Allow typed arrays for numeric arrayOk attribute types
fix: Pick the trace drawn last on a hover tie in scattergl and splom
Bring the branch up to date with the default branch. The rangeslider drag failure is outside the quiver diff.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix quiver arrows so a discrete
marker.colorarray paints each arrow with its own color.Fixes plotly#8026
marker.coloraccepts an array. A numeric array uses the colorscale. A color-string array did not.lineGroupStylecannot take an array, so the stroke stayed unset and every arrow drew black.The draw path and the restyle path now paint each valid color string on its arrow. A numeric array still uses the colorscale.
Tests are in
quiver_test.js. The new spec reads computedstrokeafter the first draw, after amarker.line.widthrestyle, and after selection styling. Scalar colors stay covered inshould render multiple quiver traces. No image mock. No baseline change.The draftlog file is
draftlogs/XXXX_fix.md. Rename that file to<upstream-pr-number>_fix.mdand put the same number in the link after the upstream pull request opens.Fixes #8026dist/unchangedpackage-lock.jsonunchangedAn AI assistant prepared this pull request. 🐦
Upstream compare link: https://github.com/plotly/plotly.js/compare/main...Yahiro025:plotly.js:fix/quiver-discrete-marker-color-8026?expand=1