From eaa85e86514b95657ec23b9660b68d8743d4a67b Mon Sep 17 00:00:00 2001 From: Joe Schr <8218910+TheJoeSchr@users.noreply.github.com> Date: Sun, 11 Feb 2024 13:16:16 +0100 Subject: [PATCH] Removes `do_plot` and old comments --- tests/data/test_converter_public_trades.py | 25 ---------------------- 1 file changed, 25 deletions(-) diff --git a/tests/data/test_converter_public_trades.py b/tests/data/test_converter_public_trades.py index c005728f8..29a1806ab 100644 --- a/tests/data/test_converter_public_trades.py +++ b/tests/data/test_converter_public_trades.py @@ -228,31 +228,6 @@ def test_public_trades_binned_big_sample_list(public_trades_list): # bidask -def do_plot(pair, data, trades, plot_config=None): - import plotly.offline as pyo - - from freqtrade.plot.plotting import generate_candlestick_graph - - # Filter trades to one pair - trades_red = trades # .loc[trades['pair'] == pair].copy() - # Limit graph period to your BT timerange - data_red = data # data['2021-04-01':'2021-04-20'] - - # plotconf = strategy.plot_config - plotconf = plot_config - - # Generate candlestick graph - graph = generate_candlestick_graph(pair=pair, - data=data_red, - trades=trades_red, - plot_config=plotconf - ) - pyo.plot(graph, output_type="file", show_link=False, - filename="tests/data/test_converter_public_trades.html") - - -# need to be at last to see if some test changed the testdata -# always need to use .copy() to avoid changing the testdata def test_public_trades_testdata_sanity( candles, public_trades_list,