-
-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plotly/PlotlyJS behavior when linecolor is a vector #1325
Comments
Sorry I misunderstood the issue so I deleted my previous comment which no longer made sense 😆 EDIT: I think it should either error or give what GR currently gives. Since you can't really color a line elementwise. You could stop the error by doing |
I think this should ideally error with an informative error message asking the user if maybe they wanted to pass a 1-row Matrix |
I would tend to agree that this should error helpfully. Rather than updating each of the backends to error where Plotly currently does, it's probably a better idea to fail earlier in the pipeline when we can first detect that |
I haven't fixed
rgba_string
here:Plots.jl/src/backends/plotly.jl
Line 637 in 09c5e8a
because I'm not entirely sure what
should do. This will currently still cause an error for Plotly/PlotlyJS.
GR just outputs two blue lines:
If I try to apply my previous fix (#1324) to this line, you end up with
Note that
The text was updated successfully, but these errors were encountered: