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 abort trap on MacOS X #10554
Comments
Also just to add, I don't have a Matplotlib rc file, so this is defaulting to the Tk backend. |
@astrofrog I've been looking into this and was not able to find the root cause of the issue. I can replace the issue as described on a test machine. I noticed that setting the import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt
fig = plt.figure() Running the original script using Perhaps one of these work arounds can get you unstuck until a root cause is identified. |
@jjhelmus - thanks for the workaround - I'm indeed able to avoid the issue by setting the backend |
This issue due to some interactions between the macosx and tkagg backends in matplotlib, see matplotlib/matplotlib#13096. It will need to be fixed upstream. Until then the work around are the best option. |
@jjhelmus This problem got fixed in Matplotlib 3.1.0, but the default conda channels still have 3.0.3, i.e. with the bug. Would it be possible to upgrade to 3.1.0? It is rather awkward that matplotlib is broken in its default configuration on macos. Thanks! |
matplotlib 3.1.0 is now available in |
Thanks! |
Actual Behavior
Matplotlib crashes when I try and create a figure:
Expected Behavior
Matplotlib should not crash!
Steps to Reproduce
then (in Python):
Anaconda or Miniconda version:
Miniconda latest
Operating System:
MacOS X 10.14.2
conda info
conda list --show-channel-urls
The text was updated successfully, but these errors were encountered: