From e0e57858a49ac88e2e32449e8de0b266ec43782c Mon Sep 17 00:00:00 2001 From: Matteo Ghetta Date: Thu, 19 Mar 2026 13:59:05 +0100 Subject: [PATCH] fix plot title error --- DataPlotly/core/plot_types/plot_type.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataPlotly/core/plot_types/plot_type.py b/DataPlotly/core/plot_types/plot_type.py index 4a36b525..8fc6d65a 100644 --- a/DataPlotly/core/plot_types/plot_type.py +++ b/DataPlotly/core/plot_types/plot_type.py @@ -95,7 +95,7 @@ def create_layout(settings): bg_color = settings.layout.get('bg_color', 'rgb(255,255,255)') # add font size parameter from the title setting - title = settings.data_defined_title if settings.data_defined_title else settings.layout['title'] + title = settings.data_defined_title if settings.data_defined_title else settings.layout.get('title', '') if isinstance(title, str): title = {"text": title} title["font"] = {