Skip to content

Commit

Permalink
Merge pull request #177 from Intron7/numpy2.0
Browse files Browse the repository at this point in the history
fix for numpy2.0
  • Loading branch information
Phlya authored Jun 17, 2024
2 parents e99a7bd + 4c4d244 commit fc3dc4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adjustText/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ def adjust_text(
if isinstance(max_move, int):
max_move = (max_move, max_move)
elif max_move is None:
max_move = (np.Inf, np.Inf)
max_move = (np.inf, np.inf)

if isinstance(force_explode, float):
force_explode = (force_explode, force_explode)
Expand Down

0 comments on commit fc3dc4b

Please sign in to comment.