plotly_express icon indicating copy to clipboard operation
plotly_express copied to clipboard

Scatter matrix graph output is incorrect

Open damstep opened this issue 6 years ago • 7 comments

PX_Data PX_scatter error

Using the px scatter on my own data I received a strange result. The data is not plotting in the correct positions on the plot using jupyter notebook.

as you can see in the attached image it is clear that copper_AS plotted against itself should be a straight line, but is not.

I checked the data for anything weird, but it all looks clean - see attached image.

I am new to python / plotly so may be doing something stupid when importing the data from a csv.

damstep avatar May 08 '19 08:05 damstep

Thanks for reporting this! It's indeed very strange. Are you able to share your data file or some other way for us to reproduce this locally?

nicolaskruchten avatar May 08 '19 13:05 nicolaskruchten

Can do, but was going to try it with different data on a different computer first. Will also try reducing the size of the data file as well. If that doesn't work I will post the jupyter notebook and data. I am in australia, so it won't be today your time.

damstep avatar May 08 '19 13:05 damstep

OK, thanks!

nicolaskruchten avatar May 08 '19 13:05 nicolaskruchten

Will also try reducing the size of the data file as well.

@damstep It is often a good idea to find the minimal example that trigger the bug.

archmoj avatar May 08 '19 14:05 archmoj

I tried again with a csv containing 25 rows and 12 columns, but get the same result. I am running it in jupyter notebook 5.6.0 utlisiing python 3.7.0 on a windows 10 64 bit machine. in IE 11. attached are my notebook and the cut down file.

temp.zip

damstep avatar May 09 '19 01:05 damstep

turns out it as a windows explorer issue. My company uses it as the default due to sharepoint problems, but running it in edge works fine!

damstep avatar May 09 '19 01:05 damstep

Ah, thanks for tracking that down! we'll get on it :)

nicolaskruchten avatar May 09 '19 18:05 nicolaskruchten