-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Using backend Template and plt.tight_layout raises UnboundLocalError #17730
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
Comments
Thanks for checking the RC! Much appreciated. Is there a reason you are using "Template" instead of "Agg"? I don't think we meant for template to be public (in the mists of time). |
Does the Template backend actually do anything? I would not expect it to actually produce any usable figures. |
Yeah I'm so happy we set up pre-release testing! 😊
Dunno! The mists of time is a good way to describe the time when that part of the config was written. I can try changing it to Agg and see if that fixes our CI, but still, UnboundLocalErrors should not be possible. 🙂
It's not supposed to, this particular check in our CI just tests that the examples run without incident. Also, if Template does approximately nothing, would that make the examples run faster? |
Matplotlib 3.3.0rc1 appears to be breaking our documentation builds at scikit-image, see
https://travis-ci.org/github/scikit-image/scikit-image/jobs/701180133#L5665-L5691
I was able to create a minimal example that reproduces the error on my machine, see code below.
Bug report
Bug summary
Actual outcome
Expected outcome
No crash.
Matplotlib version
print(matplotlib.get_backend())
): TemplateInstallation
The text was updated successfully, but these errors were encountered: