From 7c31cc319edb07135ac9c6ffba57dcc64d4e75d8 Mon Sep 17 00:00:00 2001 From: DidierRLopes Date: Tue, 1 Nov 2022 08:04:01 +0000 Subject: [PATCH] Fix SDK plot colors without needing openbb.stocks.candle (#3178) * fix SDK plot colors without needing openbb.stocks.candle * lint * ordering Co-authored-by: James Maslek Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com> --- openbb_terminal/sdk.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openbb_terminal/sdk.py b/openbb_terminal/sdk.py index 1e66d422844..dfba4e3e22d 100644 --- a/openbb_terminal/sdk.py +++ b/openbb_terminal/sdk.py @@ -31,9 +31,10 @@ except ImportError: " This part of the SDK will not be usable" ) -from .config_terminal import theme +from openbb_terminal.config_terminal import theme from openbb_terminal.helper_classes import TerminalStyle # noqa: F401 + from openbb_terminal import helper_funcs as helper # noqa: F401 from openbb_terminal.loggers import setup_logging from openbb_terminal.decorators import log_start_end, sdk_arg_logger @@ -45,6 +46,7 @@ from .cryptocurrency.due_diligence.pycoingecko_model import Coin logger = logging.getLogger(__name__) +TerminalStyle().applyMPLstyle() SUPPRESS_LOGGING_CLASSES = { ReportController: "ReportController",