format volume if in use

This commit is contained in:
hjoaquim
2022-11-24 11:19:55 +00:00
parent d5648b1ddd
commit b06ebfe765

View File

@@ -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(