From 73c63e6a02e134e00d55f4b926efd70ebc9eb908 Mon Sep 17 00:00:00 2001 From: Jo Stichbury Date: Wed, 7 Aug 2024 18:35:58 +0100 Subject: [PATCH] Update custom-figures.md --- vizro-core/docs/pages/user-guides/custom-figures.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vizro-core/docs/pages/user-guides/custom-figures.md b/vizro-core/docs/pages/user-guides/custom-figures.md index 78e68bb04..81762d4ea 100644 --- a/vizro-core/docs/pages/user-guides/custom-figures.md +++ b/vizro-core/docs/pages/user-guides/custom-figures.md @@ -38,7 +38,7 @@ adjust the return statement of the function. !!! example "Custom KPI card" === "app.py" - ```py + ```{.python pycafe-link} from typing import Optional import dash_bootstrap_components as dbc @@ -132,7 +132,7 @@ name from a filter. !!! example "Dynamic HTML header" === "app.py" - ```py + ```{.python pycafe-link} import pandas as pd import vizro.models as vm from dash import html @@ -182,7 +182,7 @@ number of cards displayed dynamically adjusts based on a `vm.Parameter`. !!! example "Dynamic number of cards" === "app.py" - ```py + ```{.python pycafe-link} from typing import Optional import dash_bootstrap_components as dbc