From 78a9b4b2922f4ccefe87a36bf8bfd79c1f4a16b3 Mon Sep 17 00:00:00 2001 From: buzzCraft <67235613+buzzCraft@users.noreply.github.com> Date: Wed, 17 Mar 2021 13:51:09 +0100 Subject: [PATCH] Resolving merge conflicts --- gamestonk_terminal/prediction_techniques/neural_networks.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gamestonk_terminal/prediction_techniques/neural_networks.py b/gamestonk_terminal/prediction_techniques/neural_networks.py index cd96610d3eb..6fd0a356abd 100644 --- a/gamestonk_terminal/prediction_techniques/neural_networks.py +++ b/gamestonk_terminal/prediction_techniques/neural_networks.py @@ -29,6 +29,7 @@ from gamestonk_terminal.prediction_techniques.pred_helper import ( from gamestonk_terminal import feature_flags as gtff +from gamestonk_terminal.config_plot import PLOT_DPI from gamestonk_terminal import config_neural_network_models as cfg_nn_models @@ -349,7 +350,7 @@ def _plot_and_print_results( ): """Plot and print the results. """ # Plotting - plt.figure() + plt.figure(figsize=plot_autoscale(), dpi=PLOT_DPI) plt.plot(df_stock.index, df_stock["5. adjusted close"], lw=3) # BACKTESTING @@ -414,7 +415,7 @@ def _plot_and_print_results( # BACKTESTING if ns_parser.s_end_date: - plt.figure() + plt.figure(figsize=plot_autoscale(), dpi=PLOT_DPI) plt.subplot(211) plt.plot( df_future.index,