Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and observingClouds committed Apr 17, 2024
1 parent 808bfb6 commit ad7b914
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ jobs:
pip install . --upgrade pip
- name: Test notebooks
run: >
python -m ipykernel install --user --name bitinfo
python -m ipykernel install --user --name bitinfo-docs
jupyter nbconvert --to html --execute docs/*.ipynb
--ExecutePreprocessor.kernel_name=bitinfo
--ExecutePreprocessor.kernel_name=bitinfo-docs
install:
name: 'install xbitinfo, ${{ matrix.os }}'
runs-on: '${{ matrix.os }}'
Expand Down
5 changes: 4 additions & 1 deletion xbitinfo/graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,10 @@ def plot_bitinformation(bitinfo, information_filter=None, cmap="turku", crop=Non

if information_filter == "Gradient":
infbits_dict = get_keepbits(
bitinfo, 0.99, information_filter, **{"threshold": 0.7, "tolerance": 0.001}
bitinfo,
0.99,
information_filter,
**{"threshold": 0.7, "tolerance": 0.001},
)
infbits100_dict = get_keepbits(
bitinfo,
Expand Down

0 comments on commit ad7b914

Please sign in to comment.