Help with wayward line in scatter plot

Hello,

I’m using plotlyjs to generate some plots using the following Python code:

plotly.offline.plot(figure, include_plotlyjs=False, output_type='div')

In some of these plots there’s a wayward line that spans the whole plot like in the following picture:


I’d appreciate any ideas or help in debugging this.

Thanks,
Jeff

Would you mind sharing your dataset?

Hi etienne,

Thanks for your response. I just figured out how to fix the issue. There was a problem with the way I was ordering the data on the x-axis which was causing the streaking effect.

Thanks,
Jeff

1 Like