Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Messed up lines

Hello - Awesome tool, thanks to all contributors!

I’m trying to plot of few traces all together. Some of the trace lines are getting a bit confused with lines going all the way to the end of the x-axis. I narrowed this down to some issue in the order of the traces. traceA, traceB plots nicely, but traceB, traceA jumbles up the lines. Please see the attached image.
Working:

Buggy:

Unable to paste the traces, as there is a message limit. You can download from here:

https://drive.google.com/file/d/1hIZzEl6I0tiqKMnd5xaxiLp4lsVhRKHd/view?usp=sharing

Inputting your x coordinates as valid plotly.js time string should fix this issue. See https://help.plot.ly/date-format-and-time-series/

In your graph above, plotly think you’re trying to plot categories not dates.

1 Like

Cool, that worked! Thank you so much.

1 Like