5

Creating an Automatic File Plotting Application

An Interactive Application using Plotly's Dash

Readme.md

Newsletter

Get the best new Kyso studies in your inbox every week.

Enter your email here

Comments

josevera

I'm having the same problem as Jason, when I load a file I get the data table, but the data is not displayed in the graph, and the following error is reproduced: Invalid argument figure.data passed into Graph with ID "Mygraph". Expected an array. Was supplied type object.

I've also tried uploading different files, in case it was a problem with the file, but the same error is reproduced with all of them.

KyleOS

Are you trying on your own local machine or uploading your file to the app running on Kyso?

J
Jason

After I upload the file, I am getting this error:

Invalid argument figure.data passed into Graph with ID "Mygraph". Expected an array. Was supplied type object.

KyleOS

.

KyleOS

There may be an issue with the file you are trying to plot. Are you able to share the file with me (or similar data) so I can troubleshoot for you? Catch me at kyle@kyso.io

J
Jason

Did you receive the file i send to you?

KyleOS

Also, I'd remove all columns except for reading_value - otherwise you're plotting strings with your numeric values.

KyleOS

Yes, I received it - what I suspect is happening here is that there is a version issue for one of the libraries you have installed on your local machine, especially since the files are working just fine on the app running on Kyso. Because Kyso's workspaces run on homogenous docker images, you won't have the issue of an incompatible library or package version (I think) you are experiencing locally.

I run Kyso's docker image locally, which is likely why it's working for me.

J
Jason

Well now don't have the error anymore after I upload the file but the graph is empty.

KyleOS

With the same file you sent me?

J
Jason

Yes and the link of live version on the top of this page I also can't access. The page is blank when I click the link.