-
Notifications
You must be signed in to change notification settings - Fork 41
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
deprecation and future warnings with matplotlib #444
Comments
This problem is present in 3.0.1, but should be solved in 3.0.2 (see matplotlib issue referenced above). |
I know you told me somewhere how to downgrade, but I can't find the info at the moment. If people are installing anaconda for the first time then will they run into this problem? |
Looking at the Cookbook found you mean 2.2.3 not 2.3.3 as stated above. |
Oh good! That's a relief. |
It looks like this won't be resolved until 3.1. |
Relevant issue has been closed in matplotlib, fix should be available in 3.1: matplotlib/matplotlib#13096 |
All tests work except for pmagpy_tests.test_pmagplotlib.TestPlotMagMap.test_success in the Linux test environment. This test does work on my Linux VM, though. Possibly the version of wx is the problem? Error message:
|
Nope, having wxPython 4.0.4 instead of 4.0.6 does NOT fix the above error message :( |
So, in general matplotlib 3.1 works just fine, for Windows, MacOS, and Linux. It fails only in one case in the test environment. I haven't yet updated the Cookbook instructions to reflect this, but PmagPy is currently compatible with either matplotlib 2.2.3 or 3.1. Yay! |
So, it looks like 3.0.3 and only 3.0.3 will work without crashing on Linux. We're going to need to address the deprecation warnings and the future warnings. 3.0.3 and 3.1.0 work on OSX. |
…est env to fail with map plots, #444
Further testing -- 3.0.3 and 3.1.0 both work on linux. It's just the testing environment that is broken. So I'm going to leave this alone for now. We do still need to get those deprecation warnings and future warnings, though. |
What command was run:
pmag_gui.py -h
What happened:
What I expected to happen:
Backend should have been set to WXAgg, instead of being stuck as MacOSX. Problem is solved by downgrading to 2.3.3. Possibly this is a new matplotlib bug? It is of concern if new users download matplotlib 3, though.
Data file(s):
Screenshot(s):
PmagPy version:
The text was updated successfully, but these errors were encountered: