np.asscalar(a) is deprecated since NumPy v1.16, use a.item() instead
hossam-zaki opened this issue · comments
Hello! I am using mpld3 in my jupyter notebook, and am having some issues. I continueally get this error, and I do not know why. Any advice?
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/mpld3/_display.py:138: DeprecationWarning: np.asscalar(a) is deprecated since NumPy v1.16, use a.item() instead
Hi @hossam-zaki , thanks for reporting this. It's just a warning, not an error, so it's fine to ignore. Hopefully @vladh or I will get around to fixing this at some point :)
The reason I ask is that I was getting this really weird plot using this package. The plot looks fine with regular matplotlib, but using the packages messes it up a bit
This is what it's meant to look like: https://github.com/hossam-zaki/BSRP2020/blob/master/SVPlots/NumberOfSVsPerGene.png
@hossam-zaki Whoa, that's like straight of a plotting bad dream :) Can you share a minimal example so we can try to reproduce? E.g. same plot but replace with random numbers (since I imagine it's pretty complicated where the actual numbers came from).