karolzak / ipyplot

IPyPlot is a small python package offering fast and efficient plotting of images inside Python Notebooks. It's using IPython with HTML for faster, richer and more interactive way of displaying big numbers of images.
MIT License
415 stars 41 forks source link

remove usages of numpy float, Fixes #50 #51

Closed ricoms closed 1 year ago

ricoms commented 1 year ago

as numpy deprecated np.float, I'm suggesting here to remove both uses of it. Error and solution reference - https://stackoverflow.com/questions/74844262/how-to-solve-error-numpy-has-no-attribute-float-in-python. Also tries to fix #50