E670 Add typing to test_plot.py by Illviljan · Pull Request #8889 · pydata/xarray · GitHub
[go: up one dir, main page]

Skip to content

Add typing to test_plot.py #8889

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 20 commits into from
Apr 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test_plot.py
  • Loading branch information
Illviljan committed Mar 29, 2024
commit 729bdadd9f06d34a36d08a84d700bbf96b970dbb
2 changes: 1 addition & 1 deletion xarray/tests/test_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,7 @@ def test_discrete_colormap_provided_boundary_norm_matching_cmap_levels(
primitive = self.darray.plot.contourf(norm=norm)
cbar = primitive.colorbar
assert cbar is not None
assert cbar.norm.Ncmap == cbar.norm.N
assert cbar.norm.Ncmap == cbar.norm.N # type: ignore[attr-defined] # Exists, debatable if public though.


class Common2dMixin:
Expand Down
0