From 895df9117d2a5a93ff22f2e4c8d3d6ce7905fc8e Mon Sep 17 00:00:00 2001 From: Fabien Lelaquais Date: Mon, 5 Aug 2024 09:50:46 +0200 Subject: [PATCH] Remove useless code --- doc/gui/examples/charts/advanced-python-lib.py | 3 --- doc/gui/examples/controls/chat-calculator.py | 3 --- doc/gui/examples/controls/text-format.py | 3 --- doc/gui/examples/controls/text-md.py | 3 --- doc/gui/examples/controls/text-pre.py | 3 --- doc/gui/examples/controls/text-simple.py | 3 --- 6 files changed, 18 deletions(-) diff --git a/doc/gui/examples/charts/advanced-python-lib.py b/doc/gui/examples/charts/advanced-python-lib.py index 4e07600fb0..252a8fdd66 100644 --- a/doc/gui/examples/charts/advanced-python-lib.py +++ b/doc/gui/examples/charts/advanced-python-lib.py @@ -43,9 +43,6 @@ figure.update_layout(title="Different Probability Distributions") page = """ -# Plotly Python -<|toggle|theme|> - <|chart|figure={figure}|> """ diff --git a/doc/gui/examples/controls/chat-calculator.py b/doc/gui/examples/controls/chat-calculator.py index 5d4fe1dee2..d670fbbf4d 100644 --- a/doc/gui/examples/controls/chat-calculator.py +++ b/doc/gui/examples/controls/chat-calculator.py @@ -42,9 +42,6 @@ def evaluate(state, var_name: str, payload: dict): page = """ -# Taipy Calculator -<|toggle|theme|> - <|{messages}|chat|users={users}|sender_id={users[0]}|on_action=evaluate|> """ diff --git a/doc/gui/examples/controls/text-format.py b/doc/gui/examples/controls/text-format.py index 590f04408d..8f30390086 100644 --- a/doc/gui/examples/controls/text-format.py +++ b/doc/gui/examples/controls/text-format.py @@ -18,9 +18,6 @@ pi = 3.14159265358979 page = """ -# Text - Formatting -<|toggle|theme|> - π≈<|{pi}|text|format=%.3f|> """ diff --git a/doc/gui/examples/controls/text-md.py b/doc/gui/examples/controls/text-md.py index be47f0388c..ae745b8cde 100644 --- a/doc/gui/examples/controls/text-md.py +++ b/doc/gui/examples/controls/text-md.py @@ -26,9 +26,6 @@ """ # noqa W291 page = """ -# Text - Markdown -<|toggle|theme|> - <|{markdown}|text|mode=markdown|> """ diff --git a/doc/gui/examples/controls/text-pre.py b/doc/gui/examples/controls/text-pre.py index 5f8b1f2b8e..7ac3675f16 100644 --- a/doc/gui/examples/controls/text-pre.py +++ b/doc/gui/examples/controls/text-pre.py @@ -24,9 +24,6 @@ def say_hello(name: str): """ page = """ -# Text - pre -<|toggle|theme|> - <|{code}|text|mode=pre|> """ diff --git a/doc/gui/examples/controls/text-simple.py b/doc/gui/examples/controls/text-simple.py index 08bfa40f32..7064b2caa8 100644 --- a/doc/gui/examples/controls/text-simple.py +++ b/doc/gui/examples/controls/text-simple.py @@ -18,9 +18,6 @@ name = "Taipy" page = """ -# Text - simple -<|toggle|theme|> - <|Hello {name}!|> """