Questions tagged [plotly-dash]
Dash is a framework for building data visualisation web applications. The original release was for Python, but Julia and R versions of the framework are also now available.
plotly-dash
4,614
questions
0
votes
0
answers
17
views
Limit Horizontal Scrolling in Dash DataTable with multi-level header (no Extra Blank Space)
I'm building a Dash app using Plotly that displays two tables dash_table.DataTable with many columns. The first table has multi-level header.
The first columns of each table are fixed and horizontal ...
0
votes
0
answers
22
views
dash app behavior has suddenly changed from reading a ".cfg" to trying to download it
I have been running a dash app in which I've kept files to be read under the assets directory. But now all of a sudden, when I select a *.cfg file (specifically, this one) I'm prompted to download it ...
0
votes
1
answer
20
views
How do I publish Python Dashboard? [closed]
I've prepared a dashboard using the Dash library in Python. The data is coming in live, and the dashboard is set to refresh every minute. Currently, I can view the output in my browser locally, but I ...
0
votes
1
answer
30
views
Dash Python: Layout Function combined with @Callback
page1.py
import ... .layout as layout
import dash
import pandas as pd
dash.register_page(__name__, path='/page_one') # I have an app.py which is running the app
df = pd.DataFrame({'A': [1, ...
0
votes
0
answers
24
views
Embedding variable with HTML tags in plotly dash layout
I have a variable with some text already containing HTML tags - like line breaks/bold/etc.
I'm extracting this variable from a dataframe based on some conditions.
I want to use this inside my Dash ...
0
votes
0
answers
11
views
How to create custom HTML attibutes on a dash app (to implement UIKit framework)
I am working on a Dash/plotly app styled with UIKit. Turns out I want to use the sticky feature of UIKit which requires a custom attribute like this:
<div uk-sticky></div>
I tried using a ...
0
votes
0
answers
20
views
How to download CSV file to update datatable/ag-grid table in plotly dash?
I have a small app displaying an AG-Grid table from an existing dataframe (the dataframe is originally a csv file read at the at the beginning of the app):
live_data = pd.read_csv('live_data.csv', ...
0
votes
0
answers
23
views
Distance between the DataTable and the Pagination When using dropdown
I am working on dash app. To display a dataframe, I am using datatable component. In the datatable, I also have dropdown inside it.
Issue: The problem comes when selecting the dropdown in the lower ...
0
votes
0
answers
16
views
Plot scatter chart y = Ch1 to Ch3 values, z = Date, group them with Mode
I have pandas dataframe like below,
Date
Serial
Mode
Ch1
Ch2
Ch3
2024-06-01
RMD2348
A
12
18
18.1
2024-06-02
RMD2401
B
13.8
16.1
14.1
2024-06-01
RMD2411
A
11.8
17.2
16.2
2024-06-03
RMD2406
C
10.5
...
1
vote
2
answers
94
views
How do I configure Python Dash app to read from .env.development and .env.production when deployed to Azure based on the env deployed in?
I have built a Python Dash web application which has the following .env, .env.development, and .env.production files. And this file is currently deployed in an Azure App Service through a build&...
-1
votes
0
answers
21
views
Receiving CSVS from Database and rewriting .csv file based on the content. How to optimize this process (maybe caching/redis)?
So I am receiving csvs from an azure database based on the url on the clientside. Then I rewrite the ExampleData.csv file to have this new csv received from the database. I am having a problem when ...
0
votes
0
answers
28
views
Problem with Pattern Matching Callbacks in Dash
I have the following 2 functions to dynamically update a div:
@app.callback(
[Output('memory', 'data'), Output('linesDiv', 'children')],
Input('lineButton', 'n_clicks'),
[State('memory', '...
0
votes
0
answers
5
views
How to auto-scale graph for different pc, different windows system?
I change to use a different pc with windows 11 instead of windows 10. There are a lot of issuses with graph size. It is too big to fit into dcc.Graph.
For example, I define dcc.Graph with CSS style
...
0
votes
0
answers
72
views
ModuleNotFoundError: No module named 'dash_bio'
I am attempting to emulate the first example (under IGV) from the following website into my own code. To do that, I copied the sample code into a file and ran it in the windows terminal.
I am getting ...
0
votes
0
answers
38
views
Adding Percentages to Plotly Sunburst Plot Hover Tooltip - plotly.express
Trying to customize the hover data for a plotly express sunburst plot. Been scratching my head on this one a while, trying to comb the documentation but not coming up with quite what I want. I see the ...