Skip to content

Commit

Permalink
Update filters.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stichbury committed Aug 7, 2024
1 parent 28bd661 commit 77230b3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions vizro-core/docs/pages/user-guides/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ automatically based on the target column, for example, a dropdown for categorica

!!! example "Basic Filter"
=== "app.py"
```py
```{.python pycafe-link}
from vizro import Vizro
import vizro.plotly.express as px
import vizro.models as vm
Expand Down Expand Up @@ -58,6 +58,7 @@ automatically based on the target column, for example, a dropdown for categorica
title: My first page
```
=== "Result"
[![Filter]][Filter]

[Filter]: ../../assets/user_guides/control/control1.png
Expand All @@ -69,7 +70,7 @@ Currently available selectors are [`Checklist`][vizro.models.Checklist], [`Dropd

!!! example "Filter with custom Selector"
=== "app.py"
```py
```{.python pycafe-link}
from vizro import Vizro
import vizro.plotly.express as px
import vizro.models as vm
Expand Down Expand Up @@ -110,6 +111,7 @@ Currently available selectors are [`Checklist`][vizro.models.Checklist], [`Dropd
title: My first page
```
=== "Result"
[![Selector]][Selector]

[Selector]: ../../assets/user_guides/control/control2.png
Expand All @@ -126,7 +128,7 @@ Below is an advanced example where we only target one page component, and where

!!! example "Advanced Filter"
=== "app.py"
```py
```{.python pycafe-link}
from vizro import Vizro
import vizro.plotly.express as px
import vizro.models as vm
Expand Down Expand Up @@ -181,6 +183,7 @@ Below is an advanced example where we only target one page component, and where
title: My first page
```
=== "Result"
[![Advanced]][Advanced]

[Advanced]: ../../assets/user_guides/control/control3.png

0 comments on commit 77230b3

Please sign in to comment.