-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ENH: Scatter plots of one variable vs another #2277
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
Changes from all commits
Commits
Show all changes
119 commits
Select commit
Hold shift + click to select a range
31019d8
initial commit
yohai 5b3714c
formatting
yohai e89c27f
fix bug
yohai 9ef73cb
refactor map_scatter
yohai e6b286a
colorbar
yohai 4c92a62
formatting
yohai 355870a
refactor
yohai 16a5d18
refactor _infer_data
yohai ff27ef5
added tests
yohai 3cee41d
minor formatting
yohai fe7f16f
fixed tests
yohai 7d19ae3
Merge remote-tracking branch 'upstream/master' into yohai-ds_scatter
b80ff5d
Refactor out to dataset_plot.py + move utilities to utils.py
b839295
Fix tests.
746930b
Fixes.
d3e1308
discrete_legend → add_colorbar
ef3b9d1
Revert "discrete_legend → add_colorbar"
be9d09a
Only use scatter instead of alternating between scatter and plot.
0d2b126
Create and use plot.utils._add_colorbar
a938d24
fix tests.
6440365
More fixes to hue, cmap_kwargs.
6975b9e
Merge remote-tracking branch 'upstream/master' into yohai-ds_scatter
15d8066
doc fixes.
e98fc7e
Dataset plotting docs.
2f91c3d
group existing docs under "DataArrays."
269518c
bugfix.
14379ea
Fix.
ca1d44b
Add whats-new
396f148
Add api.rst.
ab48350
Add hue_style.
8f41aee
Update tests.
5bb2ef6
cleanup imports.
08a3481
facetgrid: Refactor out cmap_params, cbar_kwargs processing
c2923b2
Dataset.plot.scatter obeys cmap_params, cbar_kwargs.
0a01e7c
_determine_cmap_params supports datetime64
c3bd7c8
dataset.plot.scatter supports hue=datetime64, timedelta64
84d4cbc
Merge branch 'master' into yohai-ds_scatter
80fc91a
pep8
f2704f8
Update docs.
caef62a
bugfix: facetgrid now uses hue_style
9b9478b
minor fixes.
3d40dab
Scatter docs
faf4302
Merge branch 'master' into yohai-ds_scatter
b5653a0
Merge branch 'master' into yohai-ds_scatter
1f0b1b1
Refactor out more code to utils.py
07bdf54
map_scatter → map_dataset
6df10c1
Use some wrapping magic to generalize code.
a12378c
Add hist as test of generalization.
1d939af
Get facetgrid working again
361f7a8
Refactor out utility functions.
f0f1480
facetgrid refactor
a998cfc
flake8
ce9e2ae
Refactor out colorbar making to plot.utils._add_colorbar
159bb25
Refactor out cmap_params, cbar_kwargs processing
29d276a
Merge remote-tracking branch 'upstream/master' into refactor-plot-utils
3b4e4a0
Back to map_dataarray_line
1217ab1
lint
792291c
small rename
43057ef
Merge branch 'master' into refactor-plot-utils
351a466
review comment.
57a6c64
Merge branch 'refactor-plot-utils' into yohai-ds_scatter
62679d9
Bugfix merge
afa92a3
hue, hue_style aren't needed for all functions.
18199cf
lint
8e47189
Use _process_cmap_cbar_kwargs.
b25ad6b
Update whats-new
072d83d
Some doc fixes.
3fe8557
Fix tests?
fab84a9
another attempt to fix tests.
3309d2a
small
bce0152
Merge remote-tracking branch 'upstream/master' into yohai-ds_scatter
ecc8b3c
remove py2 line
09d067f
remove extra _infer_line_data
c64fbba
Use _is_facetgrid flag.
7a65d28
Revert "_determine_cmap_params supports datetime64"
6e8c92c
Remove datetime/timedelta hue support
4c82009
_meta_data → meta_data.
7392c81
isort
4e41fc3
Merge branch 'master' into yohai-ds_scatter
f755cb8
Add doc line
13a411b
Switch to add_guide.
d7e9a0f
Save hist for a future PR.
0c20fc8
Merge branch 'master' into yohai-ds_scatter
ce41d4e
rename _numeric to _is_numeric.
4b59672
Raise error if add_colorbar or add_legend are passed to scatter.
50468da
Add scatter_example_dataset to tutorial.py
68906e2
Support scattering against coordinates, dimensions or data vars
4b6a4ef
Support 'scatter_size' kwarg
ccd9c42
color → hue and other changes.
4006531
Facetgrid support for scatter_size.
7f46f03
add_guide in docs.
194ff85
Avoid top-level matplotlib import
1e66a3e
Fix lint errors.
d5151df
Follow shoyer's suggestions.
cffaf44
scatter_size → markersize.
8cd8722
Update more error messages.
ee662b4
Merge remote-tracking branch 'upstream/master' into yohai-ds_scatter
dcherian 41cca04
Merge branch 'master' into yohai-ds_scatter
dcherian 42ea5a7
Merge branch 'master' into ds_scatter
yohai 6af0263
lint errors
yohai 9abca60
lint errors again
yohai f3de227
some more lints
yohai 5b453a7
docstrings
yohai 7116020
fix legend bug in line plots
yohai fa37607
unittest for legend in lineplot
yohai 2bc6107
bug fix
yohai 00df847
Merge branch 'master' into ds_scatter
yohai 3793166
Merge branch 'master' into ds_scatter
yohai 436f7af
add figlegend to __init__
yohai 2135388
remove import from facetgrid.py
yohai 318abaa
Merge branch 'master' into yohai-ds_scatter
dcherian 3db1610
Remove xr.plot.scatter.
dcherian fc7fc96
facetgrid._hue_var is always a DataArray.
dcherian 2825c35
scatter_size bugfix.
dcherian d4844bc
Update for latest _process_cmap_params_cbar_kwargs
dcherian dbe09b7
Fix whats-new
dcherian a805c59
Fix tests.
dcherian 63a3bc7
Merge branch 'master' into yohai-ds_scatter
dcherian d56f7d1
Make add_guide=False work.
dcherian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.