forked from facebook/Ax
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address numpy deprecation warning (facebook#2272)
Summary: Pull Request resolved: facebook#2272 Address this warning that was coming up in the tests: ``` ax/plot/trace.py:500: DeprecationWarning: the `interpolation=` argument to percentile was renamed to `method=`, which has additional options. Users of the modes 'nearest', 'lower', 'higher', or 'midpoint' are encouraged to review the method they used. (Deprecated NumPy 1.22) q1 = np.percentile(y, q=25, interpolation="lower").min() ``` Reviewed By: saitcakmak Differential Revision: D51443080 fbshipit-source-id: b131f158607fb739a0068cb2daad60477b6d2448
- Loading branch information
1 parent
68bc41c
commit 5b38f2a
Showing
3 changed files
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters