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

Add dataarray scatter #6778

Merged
merged 261 commits into from
Oct 7, 2022
Merged

Add dataarray scatter #6778

merged 261 commits into from
Oct 7, 2022

Conversation

Illviljan
Copy link
Contributor

@Illviljan Illviljan commented Jul 12, 2022

Splitting up #5622 as the scope of it has grown too large now.

  • Adds support for dataarray scatter plots and replaces the dataset version.
  • Scatter now has 3d support with the z argument.
  • Scatter now always returns a single pathcollection, earlier it could return a list of pathcollection when using categoricals
  • Better legend, handles now categoricals. Making continous/discrete options slightly redundant, still there though.
  • Facetgrid generalized slightly to handle 3d plots.

TODO:

  • Tests added
  • User visible changes (including notable bug fixes) are documented in whats-new.rst
  • New functions/methods are listed in api.rst

* use coords to check if valid
* only normalize sizes, hue is not necessary.
* Use same scatter parameter order as the dataset version.
* Fix tests assuming a list of patchollections is returned.
@Illviljan Illviljan mentioned this pull request Sep 24, 2022
3 tasks
@Illviljan Illviljan added the plan to merge Final call for comments label Oct 5, 2022
@Illviljan
Copy link
Contributor Author

I'm merging this soon. Will hopefully go smoothly.

@headtr1ck
Copy link
Collaborator

I'm merging this soon. Will hopefully go smoothly.

I will wait with merging #7052
and then try to fix the merge conflicts :)

@Illviljan Illviljan merged commit 8dac64b into pydata:main Oct 7, 2022
@dcherian
Copy link
Contributor

dcherian commented Oct 7, 2022

Thanks @Illviljan !

@mathause
Copy link
Collaborator

mathause commented Oct 7, 2022

Nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plan to merge Final call for comments topic-plotting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants