python3.10/site-packages/imodels/tree/figs.py:491: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
preds[i] = _predict_tree_single_point(root, X[i])