Skip to content

Commit

Permalink
Match against a number, not a module...
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjackson committed Oct 7, 2024
1 parent f8d1f2d commit b07f317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galore/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
def get_default_style() -> str:
"""Get appropriate name for seaborn-colorblind, depending on MPL version"""

if Version(matplotlib) < Version("3.6"):
if Version(matplotlib.__version__) < Version("3.6"):
return "seaborn-colorblind"

return "seaborn-v0_8-colorblind"

0 comments on commit b07f317

Please sign in to comment.