You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppress warning 'invalid value encountered in sign'
During autoscaling of a probscaled axis, limit_range_for_scale is
called with (0, 1, inf) and returns inf, 1. The inverse transform
then yields nan, -2.32... for these values. The nan-value raises the
warning in _approx_erf (Windows only, see numpy issue #8945).
Sign(nan) shouldn't raise a warning as the docs explain it returns
nan for nan input.
0 commit comments