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: