Skip to content

Commit 48ebd3d

Browse files
committed
Remove stubs and switch to xarray accessor
1 parent 3dc8fb0 commit 48ebd3d

13 files changed

Lines changed: 9 additions & 386 deletions

File tree

docs/getting-started.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"import pandas as pd\n",
4646
"import xarray as xr\n",
4747
"\n",
48-
"import xarray_plotly # This registers the accessor"
48+
"import xarray_plotly # Registers the .plotly accessor"
4949
]
5050
},
5151
{
@@ -78,7 +78,7 @@
7878
" attrs={\"long_name\": \"Temperature Anomaly\", \"units\": \"°C\"},\n",
7979
")\n",
8080
"\n",
81-
"da"
81+
"da."
8282
]
8383
},
8484
{

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ docs = [
5454
requires = ["setuptools>=61.0.0", "wheel", "setuptools_scm[toml]>=6.2"]
5555
build-backend = "setuptools.build_meta"
5656

57-
[tool.setuptools]
58-
packages = ["xarray_plotly", "xarray-stubs"]
57+
[tool.setuptools.packages.find]
58+
include = ["xarray_plotly*"]
5959

6060
[tool.setuptools.package-data]
61-
"*" = ["py.typed", "*.pyi"]
61+
"*" = ["py.typed"]
6262

6363
[tool.setuptools_scm]
6464
version_scheme = "post-release"

stubs-package/README.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

stubs-package/pyproject.toml

Lines changed: 0 additions & 31 deletions
This file was deleted.

stubs-package/xarray-stubs/__init__.pyi

Lines changed: 0 additions & 127 deletions
This file was deleted.

stubs-package/xarray-stubs/py.typed

Lines changed: 0 additions & 1 deletion
This file was deleted.

stubs-package/xarray_plotly_stubs/__init__.pyi

Lines changed: 0 additions & 1 deletion
This file was deleted.

stubs-package/xarray_plotly_stubs/py.typed

Whitespace-only changes.

xarray-stubs/__init__.pyi

Lines changed: 0 additions & 127 deletions
This file was deleted.

xarray-stubs/py.typed

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)