Open siufai6 opened 1 year ago
Fixes https://github.com/kernc/backtesting.py/issues/901
Heatmap plots requires at least two parameters (variables) in the heatmap Series. Add an assert before calling _plot_heatmap to guard against the case of having only 1 variable.
Fixes https://github.com/kernc/backtesting.py/issues/901
Heatmap plots requires at least two parameters (variables) in the heatmap Series. Add an assert before calling _plot_heatmap to guard against the case of having only 1 variable.