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

Using vedo with PySimpleGUI #933

Open
elizabethcd opened this issue Sep 19, 2023 · 2 comments
Open

Using vedo with PySimpleGUI #933

elizabethcd opened this issue Sep 19, 2023 · 2 comments

Comments

@elizabethcd
Copy link

I have looked through the vedo docs and have not found a way to do this, so I wanted to ask here in case I am missing something. It seems like integration with any kind of GUI for Plotters in vedo is only supported through the qt_widget argument option, as demonstrated in examples/other/qt_window2.py. However, for my project I am using PySimpleGUI, which generally relies on tkinter in the backend. I found a relevant issue on the PySimpleGUI Github, where they discuss how a Canvas element would be a good potential solution, and that vedo would need to be the one to provide some kind of accessible output product for embedding. Is there any way to extract an element from vedo or pass in arguments for which figure/axes to plot onto that could be integrated into other GUI options?

It also seems like other GUI options like streamlit (mentioned in #588 ) are of interest, including potentially website-focused GUI options.

@marcomusy
Copy link
Owner

Hi @elizabethcd thanks for drawing my attention to pysimplegui, unfortunately at the moment the upstream vtk only supports Qt.
About streamlit this is completely different from the above as it's web based, if there is enough interest we could work out a better integration in vedo (but there will always be some limitations..).

@rory-bedford
Copy link

Just want to add my support for this feature! We use both streamlit and vedo for neuroscience visualisation software, and would absolutely love to see an integration where we can embed a vedo plot inside a streamlit app!

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

No branches or pull requests

3 participants