Skip to content

Commit

Permalink
Include numbagg in type checks
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty committed Jun 24, 2024
1 parent deb2082 commit b6e0149
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ module = [
"matplotlib.*",
"mpl_toolkits.*",
"nc_time_axis.*",
"numbagg.*",
"netCDF4.*",
"netcdftime.*",
"opt_einsum.*",
Expand Down Expand Up @@ -329,8 +328,7 @@ filterwarnings = [
"default:the `pandas.MultiIndex` object:FutureWarning:xarray.tests.test_variable",
"default:Using a non-tuple sequence for multidimensional indexing is deprecated:FutureWarning",
"default:Duplicate dimension names present:UserWarning:xarray.namedarray.core",
"default:::xarray.tests.test_strategies",
# TODO: remove once we know how to deal with a changed signature in protocols
"default:::xarray.tests.test_strategies", # TODO: remove once we know how to deal with a changed signature in protocols
"ignore:__array__ implementation doesn't accept a copy keyword, so passing copy=False failed.",
]

Expand Down
7 changes: 7 additions & 0 deletions xarray/tests/test_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3406,3 +3406,10 @@ def test_plot1d_filtered_nulls() -> None:
actual = pc.get_offsets().shape[0]

assert expected == actual


import matplotlib.pyplot as plt

data = xr.DataArray([1, 2, 3], dims=["x"])
fig, ax = plt.subplots(ncols=1, nrows=1)
data.plot(ax=ax)

0 comments on commit b6e0149

Please sign in to comment.