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
RecursionError while setting matplotlib backend #148
Comments
I'm also having a similar issue. The problem is in the My intuition is that a fix would involve changing these lines: PyDev.Debugger/pydev_ipython/matplotlibtools.py Lines 75 to 76 in fb6d330
to: try:
real_use = matplotlib.real_use
except AttributeError:
matplotlib.real_use = matplotlib.use
finally:
matplotlib.use = patched_use The try-block is to catch if the |
I'm also having this issue. Any progress on this? |
Needed a full OS reinstall to solve the issue, since no other solution appeared. Everything working fine on Ubuntu 20. |
I ran into this exact problem today and the solution suggested by @floyebolu worked perfectly. |
In Pycharm ipython console with attached debuger:
causes import error:
Traceback (most recent call last):
File "/home/greensort/miniconda2/envs/borowka_fix/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3296, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
matplotlib.use("TkAgg")
File "/home/greensort/pycharm-community-2019.1.1/helpers/pydev/pydev_ipython/matplotlibtools.py", line 70, in patched_use
matplotlib.real_use(*args, **kwargs)
File "/home/greensort/pycharm-community-2019.1.1/helpers/pydev/pydev_ipython/matplotlibtools.py", line 70, in patched_use
matplotlib.real_use(*args, **kwargs)
File "/home/greensort/pycharm-community-2019.1.1/helpers/pydev/pydev_ipython/matplotlibtools.py", line 70, in patched_use
matplotlib.real_use(*args, **kwargs)
[Previous line repeated 2982 more times]
RecursionError: maximum recursion depth exceeded
The text was updated successfully, but these errors were encountered: