From b06ebfe765d166265ee9be0863b6aa63b0c69aee Mon Sep 17 00:00:00 2001 From: hjoaquim Date: Thu, 24 Nov 2022 11:19:55 +0000 Subject: [PATCH] format volume if in use --- openbb_terminal/cryptocurrency/cryptocurrency_helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbb_terminal/cryptocurrency/cryptocurrency_helpers.py b/openbb_terminal/cryptocurrency/cryptocurrency_helpers.py index a3b858cc48e..5324e4ecb39 100644 --- a/openbb_terminal/cryptocurrency/cryptocurrency_helpers.py +++ b/openbb_terminal/cryptocurrency/cryptocurrency_helpers.py @@ -891,7 +891,8 @@ def plot_candles( # pylint: disable=too-many-arguments x=0.05, y=1, ) - lambda_long_number_format_y_axis(data, "Volume", ax) + if volume: + lambda_long_number_format_y_axis(data, "Volume", ax) if yscale == "log": ax[0].yaxis.set_major_formatter(ScalarFormatter()) ax[0].yaxis.set_major_locator(