Phlya / adjustText

A small library for automatically adjustment of text position in matplotlib plots to minimize overlaps.
https://adjusttext.readthedocs.io/
MIT License
1.49k stars 87 forks source link

fix for numpy2.0 #177

Closed Intron7 closed 3 months ago

Intron7 commented 3 months ago

numpy 2.0 deprecated np.Inf and needs np.inf now

Phlya commented 3 months ago

Nice, thanks a lot! Is this the only change required for numpy 2.0?

Intron7 commented 3 months ago

I don't know 100%. But that's something a CI complained about. And it was the only with regarding your package.

Phlya commented 3 months ago

OK, for now I'll just merge this and will test it with numpy 2.0 when I have time. Hopefully this is all that's needed.