Skip to content

Commit

Permalink
Update custom-figures.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stichbury committed Aug 7, 2024
1 parent 2966fd6 commit 73c63e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vizro-core/docs/pages/user-guides/custom-figures.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ adjust the return statement of the function.
<!-- vale off -->
!!! example "Custom KPI card"
=== "app.py"
```py
```{.python pycafe-link}
from typing import Optional

import dash_bootstrap_components as dbc
Expand Down Expand Up @@ -132,7 +132,7 @@ name from a filter.
<!-- vale off -->
!!! example "Dynamic HTML header"
=== "app.py"
```py
```{.python pycafe-link}
import pandas as pd
import vizro.models as vm
from dash import html
Expand Down Expand Up @@ -182,7 +182,7 @@ number of cards displayed dynamically adjusts based on a `vm.Parameter`.
<!-- vale off -->
!!! example "Dynamic number of cards"
=== "app.py"
```py
```{.python pycafe-link}
from typing import Optional

import dash_bootstrap_components as dbc
Expand Down

0 comments on commit 73c63e6

Please sign in to comment.