-
Hi, I got hundreds of this same warning using
How can I remove this warning? Is there a way to remove it without modifying I'm currently using Python 3.8.9. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Eventually, we'll have to remove it from the file to avoid using the deprecated code. But you can silence the warning by placing: import warnings
warnings.simplefilter(action='ignore', category=FutureWarning) somewhere above your PYTHONWARNINGS=ignore::FutureWarning before starting the interpreter. |
Beta Was this translation helpful? Give feedback.
Eventually, we'll have to remove it from the file to avoid using the deprecated code. But you can silence the warning by placing:
somewhere above your
backtest.plot()
call, or by setting the environment variablePYTHONWARNINGS
:before starting the interpreter.