Skip to content

Commit

Permalink
Update seaborn and matplotlib versions in pyproject.toml. Previous ve…
Browse files Browse the repository at this point in the history
…rsions result in buggy plots (#34)

* Update seaborn and matplotlib versions in pyproject.toml. Previous versions result in buggy plots

* downgrade seaborn version so it's compatible to statannotations

* Fix code style issues using Ruff
  • Loading branch information
d31003 authored Sep 25, 2024
1 parent bf5f4ec commit 581b392
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install Ruff
run: pip install ruff
- name: Run Ruff with auto-fix
uses: chartboost/ruff-action@v1
with:
args: --fix # Automatically apply safe fixes
- uses: stefanzweifel/git-auto-commit-action@v4
run: ruff check . --fix # Use `ruff check` with the `--fix` argument to auto-fix
- name: Commit changes if there are any
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'style fixes by ruff'
file_pattern: '*.py' # Ensure only Python files are committed
file_pattern: '*.py'
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies = [
"numpy",
"pandas",
"seaborn==0.11.2",
"matplotlib==3.8.4",
"matplotlib==3.7.3",
"statannotations==0.6.0",
"scipy"
]
Expand Down

0 comments on commit 581b392

Please sign in to comment.