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

Get plotter from the pyvista mesh display method #299

Open
mkundu1 opened this issue Jul 8, 2023 Discussed in #290 · 0 comments
Open

Get plotter from the pyvista mesh display method #299

mkundu1 opened this issue Jul 8, 2023 Discussed in #290 · 0 comments
Assignees

Comments

@mkundu1
Copy link
Collaborator

mkundu1 commented Jul 8, 2023

Discussed in #290

Originally posted by zouki-dev June 30, 2023
Hi, I am looking to recover the plotter used to make the pyvista figure. Also I need the figure to be hidden. I am going to show the plotter in another window (using streamlit)

Here is what I am trying to use:

graphics = Graphics(session=solver)
mesh1 = graphics.Meshes["outlet-1"]
mesh1.show_edges = True
a = mesh1.surfaces_list.allowed_values
mesh1.surfaces_list = a
mesh1.display("window-0")

So I want a hide_window parameter, recover the plotter of pyvista.
Also, beeing able to pass the parameter notebook=True to the pyvista function would be appreciated.

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