Skip to content

Commit

Permalink
Merge branch 'main' into issue-471
Browse files Browse the repository at this point in the history
  • Loading branch information
grst authored Jan 9, 2024
2 parents 71d351d + 759bc44 commit f6ebe78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scirpy/pl/_clonotype_modularity.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from collections.abc import Sequence
from importlib.metadata import version
from typing import Optional, Union

import adjustText
Expand Down Expand Up @@ -191,7 +192,7 @@ def clonotype_modularity(
kwargs = {}
# incompatible API between <1.0 and >=1.0. I'd like to pin 1.0, but it's not available from
# conda-forge and there are some issue (https://github.com/Phlya/adjustText/issues/166)
if Version(adjustText.__version__) >= Version("1.0"):
if Version(version("adjustText")) >= Version("1.0"):
kwargs["force_static"] = (0.4, 0.4)
else:
kwargs["force_points"] = (0.4, 0.4)
Expand Down

0 comments on commit f6ebe78

Please sign in to comment.