Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeprecationWarning: GraphicsWindow is deprecated #30

Open
camour opened this issue Jan 13, 2022 · 1 comment
Open

DeprecationWarning: GraphicsWindow is deprecated #30

camour opened this issue Jan 13, 2022 · 1 comment

Comments

@camour
Copy link

camour commented Jan 13, 2022

Hi,
I cloned your project in order to use the Python visualiser so I can display in real time, data from AWR1843 radar (the radar has mmwave SDK 3 running on it, its the demo provided by TI). After installing all the dependencies (pyserial, pyqtgraph etc.), I run the "readData_AWAR1843.py" file and I keep getting the following error :
"DeprecationWarning: GraphicsWindow is deprecated, use GraphicsLayoutWidget instead,will be removed in 0.13 win = pg.GraphicsWindow(title="2D scatter plot")."
(and The window crashes)

Could you please help me out, because I tried to use "GraphicsLayoutWidget" and it runs the program but without doing or displaying anything at all (see picture below). Maybe I'am using GraphicsLayoutWidget the wrong way : How can I use GraphicsLayoutWidget instead of GraphicsWindow ?

debug

Thank you for all you help !

ibaiGorordo added a commit that referenced this issue Jan 19, 2022
@ibaiGorordo
Copy link
Owner

I guess it was missing win.show() when you changed to GraphicsLayoutWidget. I have updated the code based on this pull request, let me know if it works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants