Home > Enterprise >  Plot rows of df on Plotly
Plot rows of df on Plotly

Time:01-16

The df is like this:

          X             Y            Label
0  [16, 37, 38]  [7968, 4650, 3615]   0.7
1  [29, 37, 12]  [4321, 4650, 1223]   0.8
2  [12, 2, 445]  [1264, 3456, 2112]   0.9

This should plot three lines on the same plot with labels as continuous variables. What is the fastest & simplest way to plot it using plotly?

CodePudding user response:

Taking This should plot three lines on the same plot as the requirement. (Which is inconsistent with where I want subplots from each row of the df)

Simple case of create a trace for each row, using enter image description here

  •  Tags:  
  • Related