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

implement a more threadsafe call to colorbar #3944

Merged
merged 1 commit into from
Apr 9, 2020

Conversation

apatlpo
Copy link
Contributor

@apatlpo apatlpo commented Apr 7, 2020

If you think this is relevant, I'll go ahead and start working on the items above, even though I'm not sure new tests are needed.

@apatlpo
Copy link
Contributor Author

apatlpo commented Apr 7, 2020

Argh, my bad.
This implementation does not solve #1889.

@shoyer
Copy link
Member

shoyer commented Apr 8, 2020

Even though this doesn't fix the threadsafety issue (sorry about that!) I think it's still a marginal improvement not to be calling the global pyplot functions.

Tests pass so I'm inclined to merge as is :)

@apatlpo
Copy link
Contributor Author

apatlpo commented Apr 8, 2020

Ok, let me know if you need me to do anything else.

@dcherian
Copy link
Contributor

dcherian commented Apr 8, 2020

You can give yourself credit in whats-new.rst if you want

@apatlpo
Copy link
Contributor Author

apatlpo commented Apr 9, 2020

I would feel bad claiming credit for such a small contribution ... it's not even solving my pb which I should probably better document on the issue tracker.

@shoyer shoyer merged commit e4f7900 into pydata:master Apr 9, 2020
@shoyer
Copy link
Member

shoyer commented Apr 9, 2020

Thanks @apatlpo !

@apatlpo apatlpo deleted the threadsafeplot branch April 9, 2020 07:00
@apatlpo
Copy link
Contributor Author

apatlpo commented Apr 9, 2020

you're welcome, I hope one day I'll be to make a more worthy contribution to this great library !

dcherian added a commit to dcherian/xarray that referenced this pull request May 1, 2020
* upstream/master: (39 commits)
  Pint support for DataArray (pydata#3643)
  Apply blackdoc to the documentation (pydata#4012)
  ensure Variable._repr_html_ works (pydata#3973)
  Fix handling of abbreviated units like msec (pydata#3998)
  full_like: error on non-scalar fill_value (pydata#3979)
  Fix some code quality and bug-risk issues (pydata#3999)
  DOC: add pandas.DataFrame.to_xarray (pydata#3994)
  Better chunking error messages for zarr backend (pydata#3983)
  Silence sphinx warnings (pydata#3990)
  Fix distributed tests on upstream-dev (pydata#3989)
  Add multi-dimensional extrapolation example and mention different behavior of kwargs in interp (pydata#3956)
  keep attrs in interpolate_na (pydata#3970)
  actually use preformatted text in the details summary (pydata#3978)
  facetgrid: Ensure that colormap params are only determined once. (pydata#3915)
  RasterioDeprecationWarning (pydata#3964)
  Empty line missing for DataArray.assign_coords doc (pydata#3963)
  New coords to existing dim (doc) (pydata#3958)
  implement a more threadsafe call to colorbar (pydata#3944)
  Fix wrong order of coordinate converted from pd.series with MultiIndex (pydata#3953)
  Updated list of core developers (pydata#3943)
  ...
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

Successfully merging this pull request may close these issues.

3 participants