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

micplot requires X window #176

Closed
simonrharris opened this issue May 9, 2017 · 2 comments
Closed

micplot requires X window #176

simonrharris opened this issue May 9, 2017 · 2 comments

Comments

@simonrharris
Copy link
Member

By default matplotlib uses an X window backend. micplot will therefore die if one isn't available. Can be fixed by adding this before any pyplot import

import matplotlib
matplotlib.use('Agg')

@martinghunt
Copy link
Collaborator

I'll get round to doing this soon (unless you want to send a PR ;) ) but I think for now this will fix it:
export MPLBACKEND="agg".

@andrewjpage
Copy link
Member

Fixed in v2.10.4

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

3 participants