From 60908e3baac9fbe6af9034bc31b2a32590c537a9 Mon Sep 17 00:00:00 2001 From: Jo Stichbury Date: Wed, 7 Aug 2024 18:03:19 +0100 Subject: [PATCH] Update themes.md --- vizro-core/docs/pages/user-guides/themes.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/vizro-core/docs/pages/user-guides/themes.md b/vizro-core/docs/pages/user-guides/themes.md index aeea99906..601d58dd1 100644 --- a/vizro-core/docs/pages/user-guides/themes.md +++ b/vizro-core/docs/pages/user-guides/themes.md @@ -10,7 +10,7 @@ you can still switch between the themes via the toggle button in the upper-right !!! example "Change theme" === "app.py" - ```py hl_lines="18" + ```{.python pycafe-link} import vizro.models as vm import vizro.plotly.express as px from vizro import Vizro @@ -26,7 +26,6 @@ you can still switch between the themes via the toggle button in the upper-right ), ), ], - controls=[vm.Filter(column="species")], ) dashboard = vm.Dashboard(pages=[page], theme="vizro_light") @@ -34,7 +33,7 @@ you can still switch between the themes via the toggle button in the upper-right Vizro().build(dashboard).run() ``` === "app.yaml" - ```yaml hl_lines="11" + ```yaml # Still requires a .py to add data to the data manager and parse YAML configuration # See yaml_version example pages: @@ -45,9 +44,6 @@ you can still switch between the themes via the toggle button in the upper-right data_frame: iris dimensions: ["sepal_length", "sepal_width", "petal_length", "petal_width"] type: graph - controls: - - column: species - type: filter title: Changing themes theme: vizro_light ```