-
Notifications
You must be signed in to change notification settings - Fork 146
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
plotMesh call throwing deprecation warning and failing to plot in circle diffusion example #693
Comments
I'm also noticing that there are a few different classes for matplotlib 2D viewers. A couple are:
What's the difference between these? Is the second one meant to plot meshes perhaps? |
Well I had to get down and dirty with it. Ended up using a combination of
Although I do note that the mesh looks slightly different from what is provided in the example in the documentation. On another note, would it be worth investigating the following?:
Just some suggestions which I think might improve |
The deprecation warnings are unrelated. That's just a sign that our Matplotlib Viewers are using an old interface to Matplotlib and need to be updated. |
|
A contribution of a PyVista viewer class would be most welcome |
We are open to using pygmsh, but according to its author, it doesn't handle parallel partitioning, which limits its utility for FiPy. |
@guyer thanks for your responses. For the moment I am only using I am happy to look into implementing a |
This is a duplicate of #312. |
I tried to replicate the circle diffusion example as follows. I used
pygmsh
to generate the geometry string thatfipy
required:The above returns a warning (in jupyter) and the mesh fails to plot:
I also found a related issue #586 in which @cashTangoTangoCash attempts a workaround involving writing to and reading from a .msh file. I'd like to avoid this if I can, if the
.plotMesh
method works. Does anyone know why the above warning occurs? Is theplotMesh
method currently working?The text was updated successfully, but these errors were encountered: