We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3cc528 commit ec782ccCopy full SHA for ec782cc
sambo/plot.py
@@ -414,7 +414,7 @@ def _check_plot_dims(plot_dims, bounds) -> list[int]:
414
plot_dims = np.where(bounds[:, 0] != bounds[:, 1])[0]
415
if not plot_dims.size:
416
raise ValueError(f'All dimensions are constant: {bounds[:, 0].tolist()}')
417
- plot_dims = np.unique(plot_dims).astype(int, casting='safe')
+ plot_dims = np.unique(plot_dims).astype(np.int_, casting='safe')
418
return plot_dims.tolist()
419
420
0 commit comments