Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Clarify how to work with threads. #14557

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

Merged
merged 1 commit into from
Jun 15, 2019
Merged

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Jun 15, 2019

PR Summary

Closes (indirectly) #14304. (The OP needs to use a noninteractive backend; we'll be able to point him to this doc entry.)

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@tacaswell
Copy link
Member

That is a very ambitious issue title ;)

@tacaswell tacaswell merged commit ec8e119 into matplotlib:master Jun 15, 2019
@tacaswell tacaswell added this to the v3.2.0 milestone Jun 15, 2019
@anntzer anntzer deleted the threads branch June 15, 2019 17:57
@yash-s20
Copy link

yash-s20 commented Jul 1, 2019

Can you please explain how this resolves #14304 ? A function in my django project runs outside of the main thread and saves plots using pyplot. I was thrown the same error.
OS : macOS Mojave 10.14.5
matplotlib v3.1.0
PS: Is the 3.1.1 latest release (i see on github from a few hours ago) on pip already? I can't seem to find it

@tacaswell
Copy link
Member

@yash-s20 Make sure you are using a non-GUI backend.

No, it takes us some time to get all of the wheels built and ready to upload.

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

Successfully merging this pull request may close these issues.

3 participants