numpy deprecation warning for .tostring() #2589
Labels
api/python
Relates to the Python API
branch/alpha
This is present on or relates to the alpha branch
branch/stable
This is present on or relates to the stable branch
bug
An unexpected problem or unintended behavior
Hello,
Numpy is warning that
.tostring()
is a deprecated.Here is the warning:
the line which is causing the issue is here: mdsscalar.py#L437.
I am using:
Here is the numpy documentation, which states "Despite its name, it returns bytes not strs.", so it's not surprising that it has been deprecated, and changing to
tobytes()
should produce exactly the same results.The text was updated successfully, but these errors were encountered: