-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add typing to plot methods #7052
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 6 commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
f22ffc7
add plot methods statically and add typing to plot tests
headtr1ck bef6b7a
whats-new update
headtr1ck fd12592
fix copy-paste typo
headtr1ck 85b59fc
correct plot signatures
headtr1ck 5a0b8dc
add *some* typing to plot methods
headtr1ck 7edde8f
annotate darray in plot tests
headtr1ck 5f5fffc
correct typing of plot returns
headtr1ck 89d033b
Merge branch 'main' into plotaccessor
headtr1ck 60c6a70
fix plotting overloads
headtr1ck 481565c
add correct overloads to dataset_plot
headtr1ck ad5e363
Merge branch 'main' into plotaccessor
headtr1ck 27fa07f
update whats-new
headtr1ck 47ef0ce
rename xr.plot.plot module since it shadows the xr.plot.plot method
headtr1ck 45b154a
move accessor to its own module
headtr1ck e158bf3
move DSPlotAccessor to accessor module
headtr1ck cadc6de
fix DSPlotAccessor import
headtr1ck 44a0317
add explanation to import statement
headtr1ck f68a5da
add breaking change to whats-new
headtr1ck 39cb308
Merge branch 'main' into plotaccessor
headtr1ck 5f38366
remove unused `rtol` argument from plot
headtr1ck e4f792b
make most arguments of plotmethods kwargs only
headtr1ck 226f0e7
fix wrong return types
headtr1ck 84a9ae9
add breaking kwarg change to whats-new
headtr1ck c1979f5
Merge branch 'main' into plotaccessor
headtr1ck 0758b3b
support for aspect='auto' or 'equal
headtr1ck f9ce21b
typing support for Dataset FacetGrid
headtr1ck 70c4771
deprecate positional arguments for all plot methods
headtr1ck f1df41c
add deprecation to whats-new
headtr1ck bf0ffd1
add FacetGrid generic type
headtr1ck c61ef0a
fix mypy 0.981 complaints
headtr1ck a4c7795
fix index errors in plots
headtr1ck 8a557dd
Merge branch 'main' into plotaccessor
headtr1ck 870d5a5
add overloads to scatter
headtr1ck 9d0c859
deprecate scatter args
headtr1ck 1b7e7db
add scatter to accessors and fix docstrings
headtr1ck ebec845
undo some breaking changes
headtr1ck 90aded4
fix the docstrings and some typing
headtr1ck 3da72e5
fix typing of scatter accessor funcs
headtr1ck 8342f6c
align docstrings with signature and complete typing
headtr1ck 9145f11
add remaining typing
headtr1ck 2f01a17
align more docstrings
headtr1ck 6be4352
re add ValueError for scatter plots with u, v
headtr1ck 9d6a804
fix whats-new conflict
headtr1ck 9686ce6
Merge branch 'main' into plotaccessor
headtr1ck f61c3d7
fix some typing errors
headtr1ck 1bf0165
more typing fixes
headtr1ck a62a9a6
fix last mypy complaints
headtr1ck 43b4e7e
try fixing facetgrid examples
headtr1ck 48c9248
fix py3.8 problems
headtr1ck d101b8b
update plotting.rst
headtr1ck 534c09a
update api
headtr1ck a0c6b14
update plot docstring
headtr1ck 75f1425
add a tip about yincrease in imshow
headtr1ck 0c25767
set default for x/yincrease in docstring
headtr1ck a514530
simplify typing
headtr1ck 92462d9
add deprecation date as comment
headtr1ck 8761264
Merge branch 'main' into plotaccessor
headtr1ck 381f00f
update whats-new to new release
headtr1ck f621ef2
fix whats-new
headtr1ck 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
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.