-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I think it would be useful to add Plotly-Hanami substitution keys for line width and dashed/dotted configuration, etc. line attributes:
{:data [{... :line {:width 1} ...} ...]}
The argument is a number, default 2: https://plotly.com/javascript/reference/scatter/#scatter-line-width
{:data [{... :line {:dash} ...} ...]}
This controls whether the line is solid, dashed, dotted, etc. ('Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").') https://plotly.com/javascript/reference/scatter/#scatter-line-dash
It's of course possible to use these attributes now e.g. using assoc-in on plotly/plot's output, but these seem like they would often be useful.
Metadata
Metadata
Assignees
Labels
No labels