Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
JaGeo committed May 2, 2024
1 parent 81afab1 commit 94fdfed
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lobsterpy/plotting/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@ def get_style_list(
:param kwargs: matplotlib-style sheet keyword arguments
"""
if no_base_style:
base = []
else:
# not really happy with this but it works
base = [str(Path(__file__).absolute().parent / "lobsterpy_base.mplstyle")]
base = [] if no_base_style else [str(Path(__file__).absolute().parent / "lobsterpy_base.mplstyle")]
if styles is None:
styles = []

Expand Down

0 comments on commit 94fdfed

Please sign in to comment.