xarray-plotly 0.0.5__tar.gz → 0.0.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/.github/workflows/ci.yml +32 -0
  2. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/.github/workflows/docs.yml +2 -1
  3. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/PKG-INFO +2 -2
  4. xarray_plotly-0.0.7/docs/examples/combining.ipynb +646 -0
  5. xarray_plotly-0.0.7/docs/examples/manipulation.ipynb +708 -0
  6. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/pyproject.toml +1 -1
  7. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/tests/test_accessor.py +49 -0
  8. xarray_plotly-0.0.7/tests/test_figures.py +590 -0
  9. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/xarray_plotly/__init__.py +8 -2
  10. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/xarray_plotly/accessor.py +9 -0
  11. xarray_plotly-0.0.7/xarray_plotly/figures.py +432 -0
  12. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/xarray_plotly/plotting.py +28 -0
  13. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/xarray_plotly.egg-info/PKG-INFO +2 -2
  14. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/xarray_plotly.egg-info/SOURCES.txt +4 -0
  15. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/xarray_plotly.egg-info/requires.txt +1 -1
  16. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/.github/dependabot.yml +0 -0
  17. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/.github/workflows/dependabot-auto-merge.yml +0 -0
  18. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/.github/workflows/release.yml +0 -0
  19. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/.gitignore +0 -0
  20. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/.pre-commit-config.yaml +0 -0
  21. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/CONTRIBUTING.md +0 -0
  22. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/LICENSE +0 -0
  23. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/README.md +0 -0
  24. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/docs/api.md +0 -0
  25. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/docs/examples/datasets.ipynb +0 -0
  26. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/docs/examples/dimensions.ipynb +0 -0
  27. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/docs/examples/figure.ipynb +0 -0
  28. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/docs/examples/kwargs.ipynb +0 -0
  29. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/docs/examples/plot-types.ipynb +0 -0
  30. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/docs/getting-started.ipynb +0 -0
  31. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/docs/index.md +0 -0
  32. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/mkdocs.yml +0 -0
  33. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/setup.cfg +0 -0
  34. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/tests/__init__.py +0 -0
  35. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/tests/test_common.py +0 -0
  36. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/tests/test_config.py +0 -0
  37. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/xarray_plotly/common.py +0 -0
  38. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/xarray_plotly/config.py +0 -0
  39. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/xarray_plotly/py.typed +0 -0
  40. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/xarray_plotly.egg-info/dependency_links.txt +0 -0
  41. {xarray_plotly-0.0.5 → xarray_plotly-0.0.7}/xarray_plotly.egg-info/top_level.txt +0 -0
@@ -40,3 +40,35 @@ jobs:
40
40
  with:
41
41
  token: ${{ secrets.CODECOV_TOKEN }}
42
42
  fail_ci_if_error: false
43
+
44
+ docs:
45
+ runs-on: ubuntu-latest
46
+ steps:
47
+ - uses: actions/checkout@v6
48
+
49
+ - name: Install uv
50
+ uses: astral-sh/setup-uv@v7
51
+
52
+ - name: Install dependencies
53
+ run: uv sync --extra docs
54
+
55
+ - name: Build docs
56
+ run: uv run mkdocs build
57
+
58
+ ci-success:
59
+ name: CI Success
60
+ needs: [test, docs]
61
+ if: always()
62
+ runs-on: ubuntu-latest
63
+ steps:
64
+ - name: Check all jobs passed
65
+ run: |
66
+ if [[ "${{ needs.test.result }}" != "success" ]]; then
67
+ echo "Test job failed or was cancelled"
68
+ exit 1
69
+ fi
70
+ if [[ "${{ needs.docs.result }}" != "success" ]]; then
71
+ echo "Docs job failed or was cancelled"
72
+ exit 1
73
+ fi
74
+ echo "All CI checks passed!"
@@ -1,7 +1,7 @@
1
1
  name: Docs
2
2
 
3
3
  on:
4
- push:
4
+ pull_request:
5
5
  branches: [main]
6
6
  release:
7
7
  types: [published]
@@ -26,6 +26,7 @@ jobs:
26
26
  run: uv run mkdocs build
27
27
 
28
28
  - name: Deploy to GitHub Pages
29
+ if: github.event_name == 'release'
29
30
  uses: peaceiris/actions-gh-pages@v4
30
31
  with:
31
32
  github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xarray_plotly
3
- Version: 0.0.5
3
+ Version: 0.0.7
4
4
  Summary: Interactive Plotly Express plotting accessor for xarray
5
5
  Author: Felix
6
6
  License: MIT
@@ -28,7 +28,7 @@ Provides-Extra: dev
28
28
  Requires-Dist: pytest==9.0.2; extra == "dev"
29
29
  Requires-Dist: pytest-cov==7.0.0; extra == "dev"
30
30
  Requires-Dist: mypy==1.19.1; extra == "dev"
31
- Requires-Dist: ruff==0.14.11; extra == "dev"
31
+ Requires-Dist: ruff==0.14.13; extra == "dev"
32
32
  Requires-Dist: pre-commit==4.5.1; extra == "dev"
33
33
  Requires-Dist: nbstripout==0.8.2; extra == "dev"
34
34
  Provides-Extra: docs