Questions tagged [taipy]
Taipy is an open-source Python library that aims to simplify front-end and back-end development for data-driven applications. Every question related to it can have this tag.
42
questions
0
votes
1
answer
20
views
Running Taipy Rest on a specific port
I'm doing the Taipy Core Getting Started. I want to change the default port of the Rest endpoint, but I couldn't find the option in the documentation.
Here's a code snippet:
from taipy.core.config ...
0
votes
1
answer
19
views
How to visualize formatted text without removing empty space?
I want to visualize a pre-formatted text (with YAML format and indent). It seems that the <|{text}|> markdown pattern and the state representation removes intents from the text, i.e. all becomes ...
2
votes
1
answer
26
views
Using a dynamic `read_query` in `configure_sql_data_node()` in taipy
We'd like to use configure_sql_data_node() where the read_query argument would be dynamic, in the sense that we would get some data from a data node and use that data to construct the query. E.g., ...
1
vote
1
answer
18
views
Taipy layout annotation text not updating itself when callback is triggered
I am trying to create a network graph like this (https://plotly.com/python/network-graphs/).
It all worked fine until I try to add some annotation texts next to the links in the network graph.
The ...
1
vote
1
answer
40
views
How to highlight a selected row of a table in Taipy?
I am working with Taipy GUI to create a web app. So far I am able to generate a table and keep track of a selected row of the table. However, I want to show the user which row they selected by ...
1
vote
1
answer
31
views
Taipy 2.0 & MySQL
I’m trying to explore some data we have in a MariaDB database, and after I set up my environment, I tried to install taipy[mysql] as recommended in the manual.
At this step, I get a warning :
WARNING: ...
0
votes
1
answer
25
views
Issue using Taipy
I encoutered this bug using taipy. please kinldy help me out. this is a project I must submit by tomorrow.
The problem is on the map.py page. I am using only 2 pages. app.py(home) and map.py.
I have &...
1
vote
1
answer
32
views
How to use a dynamically bound variable between pages?
I have a Taipy application with several pages. Each page uses the "run()" method to scope the methods executed. Now, I want that one dynamically assigned State variable state.some_id = "...
2
votes
1
answer
28
views
Pandas, SQLite3 and SPARQL queries with Taipy
I'm constructing a dashboard with Taipy GUI. To do so, I'm using Pandas CSV, the easiest way to import a data frame.
I don't deal much with numbers, but much more with strings.
The idea is to create a ...
0
votes
1
answer
22
views
Taipy read and write functions
I read the user manual, and I just don’t get what read_fct and write_fct expect for parameters and what format they are supposed to return (for write_fct, I don’t even know what to return).
I wrote ...
1
vote
1
answer
26
views
How to split TaiPy GUI multi-page application where each page has its own file?
I want to simplify my multi-page Taipy GUI application by creating one Python file per page. Each new file should contain the Taipy Markdown page format and the custom Python code to manipulate ...
1
vote
1
answer
18
views
Compatibility of Taipy with Python3.11.1
When installing Taipy using Python 3.11.1 the installer backs out during the installation of the greenlet package. The error is as follows:
building ‘greenlet._greenlet’ extension
error: Microsoft ...
1
vote
1
answer
36
views
How to click a button programmatically in Taipy
I have a button in Taipy that when clicked calls a function performing some tasks that can give a valid or invalid result. In case of having an invalid result, clicking on another button must simulate ...
0
votes
1
answer
21
views
Editing tables in Taipy
I am displaying a Pandas DataFrame called Amdres. I have in my Markdown.
<|{amdres}|table|height=400px|width=500px|on_edit=myedit|>
I have a python function myedit that updates the table when ...
1
vote
0
answers
17
views
Column cell styling in Taipy's tables
Impressed by your high-potential framework, real next-gen for its simplicity
I have some problems with cell styling in tables, namely in columns.
For a model example:
data = pd.DataFrame(
{“Name”:[“...
3
votes
2
answers
57
views
How to make editable tables in Taipy
I want to display an editable table in an expandable in Taipy.
I tried the following code:
def get_table():
dic = {"key": [1,2,3], "Value":[3,4,5]}
return pd.DataFrame(dic)
...
1
vote
2
answers
40
views
How do I properly display variables in Markdown headers with Taipy GUI
I built a dashboard application using the Taipy GUI python library.
The app has a variable called "country", and its value can be assigned using a drop-down selector, with the following ...
0
votes
1
answer
43
views
Status Control color with Taipy
The status shown on the page has a red and a green color (https://docs.taipy.io/en/latest/manuals/gui/controls/). How do I make them have two or more different colors if you have more than two status. ...
1
vote
1
answer
23
views
Heatmap, radar charts in Taipy
Just getting started with Taipy and really like the way I’ve been able to quickly set up a nice dashboard for my data project. I’d like to add a few other graphics, including a heatmap, and a radar ...
1
vote
1
answer
15
views
Taipy’s output collapsed in Visual Studio Code notebook
I’have tried to run code about displaying some things with taipy.gui but it had an error and didn’t give me the output desired
exercise code:
page_md = “””
# Taipy
Test **here** to put some *markdown*...
1
vote
1
answer
26
views
“reloading” context in Taipy
I was wondering what the best way to reload a context is.
I load a context from a file when I start my application.
When I reload some other data on the fly (using an upload button), most of the ...
0
votes
1
answer
12
views
Dialog close button in Taipy
I'm using Taipy and I was wondering if there was a way to make a dialog without a close button. I want to use this dialog to have a loading animation so it would be good to have this without a close ...
0
votes
1
answer
22
views
Using Gantt chart with datetime with Taipy
I’m trying to build a Gantt chart but I don’t get what I expected.
Following the documentation, here is what I did.
I’ve got the following dataframe :
start end duration press label color
0 2022-10-22 ...
1
vote
1
answer
19
views
Empty session id on taipy-gui
I run the following code on a ubuntu-22.04 with python3.10 and taipy 2.0:
from taipy.gui import Gui
from math import cos, exp
page = """
#This is **Taipy** GUI
A value: <|{decay}|...
2
votes
1
answer
20
views
Textarea visual element?
Before all, congrats for the hard work ! Taipy is a wonderful toolbox to play around with and will be a great time-saver for us to build webapps with python 🙂
We are currently building a small ...
1
vote
1
answer
27
views
Unable to make a Taipy table editable
I want to view my dataset with a table and have the option to edit it. Here is the code for my table:
<|{data}|table|editable=True|>
Setting the editable parameter to True doesn’t change ...
1
vote
1
answer
25
views
How to load a CSV file using file_selector and callbacks in Taipy
I have a newbie Taipy question related to file_selector/callbacks.
I want to use the file_selector to load a CSV file. Here is what I am currently doing:
contents = """
<|...
1
vote
1
answer
20
views
Line charts in Logarithmic Scale with Taipy
It seems that in Taipy the Line charts support the linear Scale on x, y axis.
Is there’s way to plot Logarithmic Scale?
Thanks
I know that there's a way to make Logarithmic Scale (saw it on another ...
3
votes
1
answer
46
views
On_change callback does not provide the control id for number in TAipy
I want to update a partial dynamically. I want my partial named p to contain one number control for each row of a dataframe. So I have multiple controls.
I am trying the following code:
def display(...
2
votes
1
answer
28
views
Creating subplots with Taipy
I’m trying to find some documentation about subplots in Taipy.
Is it possible to do this with Taipy?
Thanks in advance!
1
vote
2
answers
72
views
Taipy Core configuration file
I am testing the Taipy library, and more precisely Taipy Core.
To test the library, I want to take 2 CSV files, and merge them in a pandas dataframe. I want the resulting dataframe to be the data used ...
1
vote
1
answer
28
views
How to Implement Delayed Retry Pattern on Taipy Core Task
I want to implement a retry pattern on my task API.
Can I do this without doing a try/catch myself? Can the next task wait few seconds before retrying if there is an error?
import requests
from taipy ...
0
votes
1
answer
25
views
Bold and italics with taipy-gui
How to put a string in bold and italics on taipy-gui?
For example, I would like the word famous to have both styles.
from taipy import Gui
Gui(page="My *famous* app").run()
1
vote
1
answer
27
views
Taipy adjust height in chart
I want to create a layout for the charts as below. Could you provide me with a sample of this case?
charts
I adjusted the attribute "Height" inside the chart; no changes were made to my ...
1
vote
1
answer
28
views
Taipy Callbacks could not match the selection with the wanted chart to appear
I want to create a list of selections such as ["Global suicides by year", "Global suicides by genders"] as the picture shows below. As I want to click on the selection, the ...
3
votes
2
answers
93
views
Taipy core with Sqlite datanode doesn't connect
I'm trying to get Taipy core working with Sqlite but don't succeed.
Taipy doesn't seem to be able to connect.
Does anyone have a small working example?
Regards,
Markus
I've tried to connect with e.g. ...
1
vote
1
answer
44
views
Visual Elements not updating in real time with Taipy GUI
Is it normal that when I attempt to add a value to my list or change my data using a button, I do not observe any modifications on the GUI?
Despite this, after refreshing the page, the accurate list ...
3
votes
1
answer
27
views
Creating a User-Friendly Link Selector in Taipy: How to Display a List of Links in a Selector
I want to create a little Taipy application where I would be able to choose an image from a selector, table, or toggle.
I have a list of image links that I need to display where users can choose one ...
3
votes
1
answer
52
views
Troubleshooting Specific Button Visuals: How to Modify Individual Buttons Using CSS in Taipy
I'm new to Taipy and CSS and currently facing an issue where I'm unable to modify the visual appearance of specific buttons using CSS.
Although I tried changing the 'class_name' of a particular button ...
2
votes
1
answer
81
views
Taipy: No chart displayed probably due to "Invalid tag name 'text' in line"
I'm using taipy==1.1 and I have an issue with the rendering of my charts.
Here is a snippet of my code:
import pandas as pd
from taipy import Gui
...
total_cost = dataset['costInUsd'].sum()
...
2
votes
2
answers
80
views
Creating 3D scatter chart in Taipy
I was wondering how one would create a 3D scatter chart in Taipy.
I tried this code initially:
import pandas as pd
import numpy as np
from taipy import Gui
df = pd.DataFrame(np.random.randint(0,100,...
3
votes
1
answer
119
views
Maps in Taipy GUI
Looking at the Taipy 1.0 GUI documentation (https://docs.taipy.io/en/latest/manuals/gui/), I couldn't find any graphics for maps.
Is this something that will be provided in the future?