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

Matplotlib backend set to Agg by default #94

Open
ieivanov opened this issue Dec 7, 2020 · 0 comments
Open

Matplotlib backend set to Agg by default #94

ieivanov opened this issue Dec 7, 2020 · 0 comments

Comments

@ieivanov
Copy link
Contributor

ieivanov commented Dec 7, 2020

utils.plotting always calls matplotlib.use('Agg') which changes the matplotlib backend. This is a problem when importing plotting functions into Jupyter notebooks, which often use a different backend. A workaround is to change back the matplotlib backend in the Jupyter notebooks after importing reconstruct-order functions. It'll be better to set the matplotlib backend in reconstruct-order only when writing images through reconstruct-order.

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

1 participant