New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
numpy
as no Attribute string0
#5884
Comments
Looks like this originally came in in 9638f5e (JDH: Feb 16 2008). There is still one reference to string0 in the numpy source: https://github.com/tacaswell/numpy/blob/master/doc/summarize.py#L32 It looks like it was part of f2py and removed from the numpy source tree in numpy/numpy@484c100 (rkern: July 2008) |
attn @rkern |
That commit did not remove
|
It's an alias that is still added in It's possible that it's a Python 2-only thing with |
That seem probable :
|
Cool. Seems easy enough to fix on our end, then. |
The main goal is to remove the reference to np.string0. In the end, it became better to clean up the checking of various types using np.issubdtype.
FIX: Clean up type checking in rex2txt Fixes #5884
Closed by #6396 |
The main goal is to remove the reference to np.string0. In the end, it became better to clean up the checking of various types using np.issubdtype.
Problem due to this bug: matplotlib/matplotlib#5884 1.5.2 includes the fix: matplotlib/matplotlib#6396 1.5.2 tagged release: matplotlib/matplotlib/releases/tag/v1.5.2 (also update numpy to current release)
I came across this traceback while using
v1.5.1-970-g950c712
np.string0
seem to be still in the souce code of matplotlib. Asking my neighbor numpy developer, he has never heard of this. I can imagine this might have ment to benp.str0
.I got that by by trying to build the docs of https://github.com/statlab/permute , trying to fix an IPython bug
https://github.com/ipython/ipython/issues/8733
, so I have no clue what's going inpermute
, or matplotlib, or numpy. Hoping to reach someone who knows.The text was updated successfully, but these errors were encountered: