Could you help me with this code I use Spyder and a form designed in QtDesigner, I get error 'str' object has no attribute 'plot | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Could you help me with this code I use Spyder and a form designed in QtDesigner, I get error 'str' object has no attribute 'plot

https://code.sololearn.com/ckzf5DauiGFb/?ref=app I get error name 'data' is not defined

19th Nov 2020, 8:57 PM
Astrid
Astrid - avatar
1 Answer
0
What I understand from your script is that you are converting content of variable "data" to string, so that's why you can't plot it then. Please check the type of your data before plotting.
10th Feb 2021, 6:34 PM
Tomas Konecny