8000 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 54e6320382dc87efdd49098895b983cc861d512e
4 changes: 2 additions & 2 deletions xarray/tests/test_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2999,7 +2999,7 @@ def test_ncaxis_notinstalled_line_plot(self) -> None:
@requires_matplotlib
class TestAxesKwargs:
@pytest.fixture(params=[1, 2, 3])
def data_array(self, request) -> DataArray:
def data_array(self, request) -> Generator[None, None, DataArray]:
"""
Return a simple DataArray
"""
Expand All @@ -3012,7 +3012,7 @@ def data_array(self, request) -> DataArray:
return DataArray(easy_array((10, 3, 2)))

@pytest.fixture(params=[1, 2])
def data_array_logspaced(self, request) -> DataArray:
def data_array_logspaced(self, request) -> Generator[None, None, DataArray]:
"""
Return a simple DataArray with logspaced coordinates
"""
Expand Down
0