plotly.py icon indicating copy to clipboard operation
plotly.py copied to clipboard

scattergl function doesn't handle pandas.Series correctly

Open ellayunyun opened this issue 10 years ago • 3 comments

x_axis = pandas.Series([pandas.to_datetime(date) for date in x_axis])
trace = Scattergl(x=x_axis,y=y,mode='markers+lines',name=varName)
# this plots gives different plots comparing to 
trace = Scatter(x=x_axis,y=y,mode='markers+lines',name=varName)

I have taken a close look at the plot, it seems that scattergl didn't handle the x_axis correctly.... quite some points are where they should not be. An example can be seen in the attached image report

ellayunyun avatar Feb 16 '16 09:02 ellayunyun

@ellayunyun Hi, can you possibly share your data or provide a link to your plots?

yankev avatar Feb 17 '16 21:02 yankev

see https://plot.ly/~ellayunyun/3/raw-data/

ellayunyun avatar Feb 18 '16 08:02 ellayunyun

Closing as I believe this is no longer a problem in recent versions of plotly/scattergl. Feel free to open a new issue against version 3 with a reproducible example if this is not the case.

jonmmease avatar Sep 22 '18 10:09 jonmmease