-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Update quiver trace API for clarity and consistency #7944
Copy link
Copy link
Closed
Labels
P1needed for current cycleneeded for current cyclechoreTrack maintenance work (dependency bumps, build/CI, internal refactors, docs, etc.)Track maintenance work (dependency bumps, build/CI, internal refactors, docs, etc.)enhancementmerged-to-4.0plotly-internalsize: 3
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
P1needed for current cycleneeded for current cyclechoreTrack maintenance work (dependency bumps, build/CI, internal refactors, docs, etc.)Track maintenance work (dependency bumps, build/CI, internal refactors, docs, etc.)enhancementmerged-to-4.0plotly-internalsize: 3
Description
Following user feedback and internal testing of the quiver trace API, we plan to make some API updates for clarity and consistency with the rest of the plotly.js API:
sizerefattribute tolengthfactor(sincesizereffor other traces works differently, as a divisor rather than a multiplier, we shouldn't use the same name here)sizemodetolengthmode(to parallellengthfactorand because it's really about vector length rather than size)'scaled'and'raw'remain the sameanglemodetouvrefarrowref'data'and'paper'remain the sameScope
src/traces/quiver/attributes.jsandsrc/traces/quiver/defaults.js