Numpy arguments to plots causes project recovery to fail #37168
Labels
Bug
Issues and pull requests that are regressions or would be considered a bug by users (e.g. crashing)
ISIS Team: Core
Issue and pull requests managed by the Core subteam at ISIS
Describe the bug
when plots have be created using numpy objects (any object json.dump can't serialise) project recovery will fail.
To Reproduce
Unknown error occurred. Full detail: Object of type ndarray is not JSON serializable
If you change the
np.linspace(0, 10000, 7)
to something like[0,1,2,3,4]
the project will save successfully.Expected behavior
Ideally, project recovery can save and recover plots built with numpy arguments.
Platform/Version (please complete the following information):
The text was updated successfully, but these errors were encountered: