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

Need to explicitly set the matplotlib backend to TkAgg #52

Closed
dmalesani opened this issue Oct 17, 2019 · 0 comments
Closed

Need to explicitly set the matplotlib backend to TkAgg #52

dmalesani opened this issue Oct 17, 2019 · 0 comments

Comments

@dmalesani
Copy link

dmalesani commented Oct 17, 2019

Hello.

I and two other users using Mac OS X 10.14.6 (and python 2.7.15) had trouble running the NTT pipeline in interactive mode (e.g. PESSTOFASTSPEC -i). The output error message is attached. Looks like an issue with matplotlib, which requires to explicitly set the backend.

There is a user-side easy fix, which is to add the line

backend: TkAgg

to the file ~/.matplotlib/matplotlibrc

Code-wise, I understand one can set explicitly (but I am honestly a newbie here):

matplotlib.use('TkAgg')_

Some extra information here: MTG/sms-tools#36

Maybe worth either updating the source code (if easy/feasible) or the documentation including the easy user-side fix?

Thank you for your consideration,
Daniele
erroroutput_pipeline.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants