ridgeplot-py 0.6.2__tar.gz → 0.6.4__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 (28) hide show
  1. ridgeplot_py-0.6.4/.github/workflows/ci.yaml +105 -0
  2. ridgeplot_py-0.6.4/.pre-commit-config.yaml +15 -0
  3. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/PKG-INFO +1 -1
  4. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/pyproject.toml +1 -1
  5. ridgeplot_py-0.6.2/.coverage +0 -0
  6. ridgeplot_py-0.6.2/.github/workflows/ci.yaml +0 -105
  7. ridgeplot_py-0.6.2/.pre-commit-config.yaml +0 -13
  8. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/Example.ipynb +0 -0
  9. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/LICENSE +0 -0
  10. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/README.md +0 -0
  11. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/docs/colors.md +0 -0
  12. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/docs/dotted_heatmap.md +0 -0
  13. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/docs/index.md +0 -0
  14. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/docs/ridge_plot.md +0 -0
  15. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/docs/stats.md +0 -0
  16. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/img/ridgeplot.png +0 -0
  17. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/mkdocs.yml +0 -0
  18. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/requirements-dev.lock +0 -0
  19. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/requirements.lock +0 -0
  20. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/src/ridgeplot/__init__.py +0 -0
  21. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/src/ridgeplot/colors.py +1 -1
  22. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/src/ridgeplot/dotted_heatmap.py +0 -0
  23. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/src/ridgeplot/ridge_plot.py +0 -0
  24. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/src/ridgeplot/stats.py +0 -0
  25. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/test/test_colors.py +0 -0
  26. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/test/test_dotted_heatmap.py +0 -0
  27. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/test/test_ridge_plot.py +0 -0
  28. {ridgeplot_py-0.6.2 → ridgeplot_py-0.6.4}/test/test_stats.py +0 -0
@@ -0,0 +1,105 @@
1
+ # This workflow will install Python dependencies, run tests and lint with a single version of Python
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
+
4
+ name: CI
5
+
6
+ on:
7
+ push:
8
+ branches: [main]
9
+ pull_request:
10
+ branches: [main]
11
+
12
+ jobs:
13
+ build:
14
+ name: rye CI
15
+ runs-on: ubuntu-latest
16
+ strategy:
17
+ matrix:
18
+ python-version: ['3.9', '3.10', '3.11']
19
+ defaults:
20
+ run:
21
+ shell: bash -l {0}
22
+ permissions:
23
+ # Gives the action the necessary permissions for publishing new
24
+ # comments in pull requests.
25
+ pull-requests: write
26
+ # Gives the action the necessary permissions for pushing data to the
27
+ # python-coverage-comment-action branch, and for editing existing
28
+ # comments (to avoid publishing multiple comments in the same PR)
29
+ contents: write
30
+
31
+ steps:
32
+ - uses: actions/checkout@v2
33
+
34
+ - name: Set up Python ${{ matrix.python-version }}
35
+ uses: actions/setup-python@v2
36
+ with:
37
+ python-version: ${{ matrix.python-version }}
38
+
39
+ - name: Install the latest version of rye
40
+ uses: eifinger/setup-rye@v3
41
+
42
+ - name: Install dependencies
43
+ run: |
44
+ rye sync --no-lock
45
+
46
+ - name: check
47
+ run: |
48
+ rye run check
49
+
50
+ - uses: py-cov-action/python-coverage-comment-action@v3
51
+ id: coverage_comment
52
+ if: matrix.python-version == '3.9' && github.ref != 'refs/heads/main'
53
+ with:
54
+ GITHUB_TOKEN: ${{ github.token }}
55
+ ANNOTATE_MISSING_LINES: true
56
+
57
+
58
+ publish:
59
+ needs: build
60
+ if: github.ref == 'refs/heads/main'
61
+ runs-on: ubuntu-latest
62
+ permissions:
63
+ contents: write
64
+
65
+ steps:
66
+ - uses: actions/checkout@v2
67
+ with:
68
+ fetch-depth: 0
69
+
70
+ - name: Install the latest version of rye
71
+ uses: eifinger/setup-rye@v4
72
+
73
+ - name: Build dist
74
+ run: |
75
+ rye build --verbose
76
+
77
+ - name: publish to pypi
78
+ run: |
79
+ rye publish --token ${{ secrets.PYPI_TOKEN }} --yes --verbose
80
+
81
+ - name: push tag
82
+ run: |
83
+ gh release create $(rye version)
84
+ env:
85
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
86
+
87
+
88
+ deploy:
89
+ name: deploy doc
90
+ runs-on: ubuntu-latest
91
+ if: github.ref == 'refs/heads/main'
92
+ needs: [publish, build]
93
+
94
+ steps:
95
+ - uses: actions/checkout@v2
96
+
97
+ - name: setup
98
+ uses: actions/setup-python@v2
99
+ with:
100
+ python-version: 3.x
101
+
102
+ - name: build and deploy doc
103
+ run: |
104
+ pip install mkdocs-material mkdocstrings-python mkdocs
105
+ mkdocs gh-deploy --force
@@ -0,0 +1,15 @@
1
+ repos:
2
+ - repo: https://github.com/astral-sh/ruff-pre-commit
3
+ # Ruff version.
4
+ rev: v0.8.3
5
+ hooks:
6
+ - id: ruff
7
+ args: [--fix]
8
+ - id: ruff-format
9
+ - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
10
+ rev: v2.14.0
11
+ hooks:
12
+ - id: pretty-format-toml
13
+ args: [--autofix, --indent, '2']
14
+ - id: pretty-format-yaml
15
+ args: [--autofix, --indent, '2']
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: ridgeplot-py
3
- Version: 0.6.2
3
+ Version: 0.6.4
4
4
  Summary: Plotting ridgeplots with matplotlib
5
5
  Author-email: Douglas Wu <wckdouglas@gmail.com>
6
6
  License: MIT
@@ -55,7 +55,7 @@ dev-dependencies = [
55
55
  ]
56
56
 
57
57
  [tool.rye.scripts]
58
- check = {chain = ["lint", "type", "format", "test"]}
58
+ check = {chain = ["format", "lint", "type", "test"]}
59
59
  format = "ruff format src/ test/"
60
60
  lint = "ruff check"
61
61
  test = "pytest -l -rPap -vvv -p no:warnings --cov "
Binary file
@@ -1,105 +0,0 @@
1
- # This workflow will install Python dependencies, run tests and lint with a single version of Python
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
-
4
- name: CI
5
-
6
- on:
7
- push:
8
- branches: [ main ]
9
- pull_request:
10
- branches: [ main ]
11
-
12
- jobs:
13
- build:
14
- name: poetry-build
15
- runs-on: ubuntu-latest
16
- strategy:
17
- matrix:
18
- python-version: ["3.10", "3.9"]
19
- defaults:
20
- run:
21
- shell: bash -l {0}
22
- permissions:
23
- # Gives the action the necessary permissions for publishing new
24
- # comments in pull requests.
25
- pull-requests: write
26
- # Gives the action the necessary permissions for pushing data to the
27
- # python-coverage-comment-action branch, and for editing existing
28
- # comments (to avoid publishing multiple comments in the same PR)
29
- contents: write
30
-
31
- steps:
32
- - uses: actions/checkout@v2
33
-
34
- - name: Set up Python ${{ matrix.python-version }}
35
- uses: actions/setup-python@v2
36
- with:
37
- python-version: ${{ matrix.python-version }}
38
-
39
- - name: Install the latest version of rye
40
- uses: eifinger/setup-rye@v3
41
-
42
- - name: Install dependencies
43
- run: |
44
- rye sync --no-lock
45
-
46
- - name: check
47
- run: |
48
- rye run check
49
-
50
- - uses: py-cov-action/python-coverage-comment-action@v3
51
- id: coverage_comment
52
- if: matrix.python-version == '3.9' && github.ref != 'refs/heads/main'
53
- with:
54
- GITHUB_TOKEN: ${{ github.token }}
55
- ANNOTATE_MISSING_LINES: true
56
-
57
-
58
- publish:
59
- needs: build
60
- if: github.ref == 'refs/heads/main'
61
- runs-on: ubuntu-latest
62
- permissions:
63
- contents: write
64
-
65
- steps:
66
- - uses: actions/checkout@v2
67
- with:
68
- fetch-depth: 0
69
-
70
- - name: Install the latest version of rye
71
- uses: eifinger/setup-rye@v3
72
-
73
- - name: Build dist
74
- run: |
75
- rye build --verbose
76
-
77
- - name: publish to pypi
78
- run: |
79
- rye publish --token ${{ secrets.PYPI_TOKEN }} --yes --verbose
80
-
81
- - name: push tag
82
- run: |
83
- gh release create $(rye version)
84
- env:
85
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
86
-
87
-
88
- deploy:
89
- name: deploy doc
90
- runs-on: ubuntu-latest
91
- if: github.ref == 'refs/heads/main'
92
- needs: [publish, build]
93
-
94
- steps:
95
- - uses: actions/checkout@v2
96
-
97
- - name: setup
98
- uses: actions/setup-python@v2
99
- with:
100
- python-version: 3.x
101
-
102
- - name: build and deploy doc
103
- run: |
104
- pip install mkdocs-material mkdocstrings-python mkdocs
105
- mkdocs gh-deploy --force
@@ -1,13 +0,0 @@
1
- repos:
2
- - repo: https://github.com/astral-sh/ruff-pre-commit
3
- # Ruff version.
4
- rev: v0.8.3
5
- hooks:
6
- - id: ruff
7
- args: ["--fix"]
8
- - id: ruff-format
9
- - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
10
- rev: v2.14.0
11
- hooks:
12
- - id: pretty-format-toml
13
- args: [--autofix, --indent, '2']
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -57,8 +57,8 @@ ColorPalette: Dict[str, List[str]] = dict(
57
57
  "#075149",
58
58
  "#C80813",
59
59
  "#91331F",
60
- "#1A9993",
61
60
  "#FD8CC1",
61
+ "#1A9993",
62
62
  ],
63
63
  # 3. okabeito:
64
64
  # Color palette proposed by Okabe and Ito