-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Handling of traces with 2D data #161
Comments
The reason is the handling of multi-dimensional arrays in JSON3 Handling of multi-dimensional arrays #196 . |
Looking at the mentioned issue JuliaComputing/PlotlyLight#12 it seems that the solution (temporarily) is to write out:
To match the desired behavior above. Would it be possible to add this explanation to Dash.jl documentation, or the README? |
Sure. If someone wants to make a PR that adds it to the JSON section in the README https://github.com/plotly/Dash.jl#json I'll merge it. |
Plotting traces with 2D data in the z component such as contour or heatmap does not yield the expected result (Julia v1.7.0, Dash v1.1.1, PlotlyJS v0.18.8). It seems like the serialization might be at fault?
The following MWE demonstrates the issue:
Exemplary dash output:
Corresponding PlotlyJS output which meets the expectations:
The text was updated successfully, but these errors were encountered: