plotly.py
plotly.py copied to clipboard
scattergl function doesn't handle pandas.Series correctly
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

@ellayunyun Hi, can you possibly share your data or provide a link to your plots?
see https://plot.ly/~ellayunyun/3/raw-data/
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.