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] committed Mar 29, 2024
1 parent 20b9c68 commit 37ff87a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions branca/colormap.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,7 @@ def to_step(
method = (
"quantiles"
if quantiles is not None
else method
if method is not None
else "linear"
else method if method is not None else "linear"
)
if method.lower().startswith("lin"):
if n is None:
Expand Down

0 comments on commit 37ff87a

Please sign in to comment.