diff --git a/vizro-ai/docs/pages/user-guides/add-generated-chart-usecase.md b/vizro-ai/docs/pages/user-guides/add-generated-chart-usecase.md index fa87f16e1..922fcb3b4 100644 --- a/vizro-ai/docs/pages/user-guides/add-generated-chart-usecase.md +++ b/vizro-ai/docs/pages/user-guides/add-generated-chart-usecase.md @@ -99,8 +99,8 @@ This object must then be passed to the `figure` argument of the Vizro [Graph](ht page = vm.Page( title = 'Demographics', components = [ - vm.Graph(id='bubble chart', figure=custom_chart(df)), - vm.Graph(id='histogram', figure = px.box(df, + vm.Graph(figure=custom_chart(df)), + vm.Graph(figure = px.box(df, x='continent', y='lifeExp', color='continent', @@ -152,8 +152,8 @@ Executing the code below yields the identical dashboard as the example above. page = vm.Page( title = 'Demographics', components = [ - vm.Graph(id='bubble chart', figure=fig), - vm.Graph(id='histogram', figure = px.box(df, + vm.Graph(figure=fig), + vm.Graph(figure = px.box(df, x='continent', y='lifeExp', color='continent', diff --git a/vizro-ai/docs/pages/user-guides/retrieve-dashboard-code.md b/vizro-ai/docs/pages/user-guides/retrieve-dashboard-code.md index a95d1159a..833ca646f 100644 --- a/vizro-ai/docs/pages/user-guides/retrieve-dashboard-code.md +++ b/vizro-ai/docs/pages/user-guides/retrieve-dashboard-code.md @@ -116,16 +116,13 @@ This triggers the dashboard building process. Once Vizro-AI finishes the dashboa dashboard = vm.Dashboard( pages=[ vm.Page( - id="Tips Data Visualization", components=[ vm.Card( - id="tips_card_tips_data_visualization", type="card", text="This is Tips dataset", href="", ), vm.AgGrid( - id="tips_table_tips_data_visualization", figure=dash_ag_grid(data_frame="restaurant_bills"), ), ], diff --git a/vizro-ai/docs/pages/user-guides/vizro-ai-langchain-guide.md b/vizro-ai/docs/pages/user-guides/vizro-ai-langchain-guide.md index 210f36410..e7f4cab55 100644 --- a/vizro-ai/docs/pages/user-guides/vizro-ai-langchain-guide.md +++ b/vizro-ai/docs/pages/user-guides/vizro-ai-langchain-guide.md @@ -183,7 +183,6 @@ Now you can use the chain to generate charts or dashboards based on natural lang vm.Page( components=[ vm.Graph( - id="gdp_life_exp_graph", figure=gdp_life_exp_graph(data_frame="gdp_life_exp"), ) ],