From 9629231e299a4876370080450b0685d917c9f0d4 Mon Sep 17 00:00:00 2001 From: Colin Maudry Date: Tue, 17 Mar 2026 17:30:41 +0100 Subject: [PATCH] Fixed masquage silencieux de la chloropleth #65 --- src/figures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/figures.py b/src/figures.py index 556e802..0f7f6b0 100644 --- a/src/figures.py +++ b/src/figures.py @@ -609,7 +609,7 @@ def make_card( children.append(html.H5(title, className="card-title")) if subtitle: children.append(html.H6(subtitle, className="card-subtitle mb-2 text-muted")) - if fig: + if fig is not None: children.append(fig) if paragraphs: for p in paragraphs: