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

Matplotlib 3.8 fails to plot irregular meshes #1009

Open
guyer opened this issue Feb 14, 2024 Discussed in #1006 · 2 comments
Open

Matplotlib 3.8 fails to plot irregular meshes #1009

guyer opened this issue Feb 14, 2024 Discussed in #1006 · 2 comments

Comments

@guyer
Copy link
Member

guyer commented Feb 14, 2024

As documented in Matplotlib "API Changes for 3.8.0",

FIPY_VIEWER=matplotlib python examples/diffusion/circle.py

raises

ImportError: Failed to import a viewer: ['matplotlib: Unable to determine Axes to steal space for Colorbar. Either provide the *cax* argument to use as the Axes for the Colorbar, provide the *ax* argument to steal space from it, or add *mappable* to an Axes.']

Matplotlib 3.7 is fine. Regular meshes are fine.

Discussed in #1006

Originally posted by agoncalvescoel February 9, 2024
Hey guys,

I'm learning how to use this amazing tool, and while I was going through the manual, I had some errors running some scripts from the examples folder: coupled.py, and circle.py.

It gives me extensive lists of errors and the program crashes. Here's a print of the first ones:
image

When writing coupled one myself I did notice that I only had errors when trying the vector form.
Anyone can help me with what I am doing wrong here?

@guyer
Copy link
Member Author

guyer commented Feb 22, 2024

Hmm... regular meshes are not OK, either. They just freeze after updating macOS from 13.6(?) to 14.3.1.

@guyer
Copy link
Member Author

guyer commented Feb 23, 2024

The freeze is reported in matplotlib/matplotlib#27720 and reportedly fixed in matplotlib/matplotlib#27755.

Issue still present in mpl 3.8.3

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

1 participant