Open bnavigator opened 3 months ago
@bnavigator Is it okay if I push some changes here to handle both versions of numpy?
@bnavigator Is it okay if I push some changes here to handle both versions of numpy?
Yes, of course. Sorry I do not have time to enhance it myself right now.
The soon to be released NumPy 2.0.0 removes some aliases of
np.nan
andnp.inf
, so these must be removed from the tests in order to keep the test suite green.Also, when testing data with small integer types like
int8
, the literals need to be cast beforehand in order to avoid overflow errors.References
Code PR
plotly.graph_objects
, my modifications concern thecodegen
files and not generated files.