SPEC icon indicating copy to clipboard operation
SPEC copied to clipboard

py_spec minor bugfix

Open missing-user opened this issue 1 year ago • 1 comments

None checks should be done with is None in python, instead of == None to avoid issues with equality overloads. Passing an RGB color (np.array) to to the plotting functions threw at the None comparison, because numpy arrays need .any() or .all() for comparisons. I also refactored other instances of the same bug across the codebase.

plot_poincare now also ignores points that were unsuccessfully integrated instead of plotting them at [0,0]

missing-user avatar Dec 06 '24 18:12 missing-user

Waiting a bit to merge as I am in the process of recovering the SPEC-devel PYPI account to fix the upload to PYPI workflow.

smiet avatar Dec 12 '24 11:12 smiet