-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Description
Bug report
Bug summary
Running code that include import pandas
on debug mode (I am using pycharm 2018.2 community eddition). The result is Process finished with exit code -1 .
After correspondence with "JetBrain" development team I have got the following work around, that fix the problem:
Add the following commands to matplotlib configuration file (the file can be found by the command matplotlib.matplotlib_fname()
) :
import matplotlib
matplotlib.use("TkAgg")
Is there properly solution like new matplotlib version with a fix for this issue?
Code for reproduction
import pandas as pd
def main():
x = 1
return
if __name__ == '__main__':
main()
Actual outcome
Process finished with exit code -1
Code with work a round
import pandas as pd
import matplotlib
matplotlib.use("TkAgg")
def main():
x = 1
return
if __name__ == '__main__':
main()
Expected outcome
Process finished with exit code 0
Matplotlib version
- Operating system: Windows 10
- Matplotlib version: 2.2.3
- Matplotlib backend (
print(matplotlib.get_backend())
): Qt5Agg - Python version: 2.7.15
- Jupyter version (if applicable):
- Other libraries: matplotlib installed thru anaconda windows installer
Metadata
Metadata
Assignees
Labels
No labels