4,558 questions
-1 votes
1 answer
39 views
Plotly Dash dbc column width
In a Plotly Dash application I'm trying to use the horizontal space optimaly. There are four columns in the first row. Right now this is what I have: from dash import Dash, dcc, html, Input, Output, ...
3 votes
2 answers
146 views
How to add a "Copy to Clipboard" button for a Dash DataTable in Python?
I'm building a Dash app in Python and trying to add a button that lets the user copy the table content to the clipboard so they can paste it into Excel. The table displays correctly, but when I click ...
3 votes
0 answers
79 views
Flexbox in Dash dbc.Tabs
I am trying to place a dcc.Graph in a dbc.Tab. The plot is supposed to go to the bottom of the screen, so I tried to use a flexbox. My attempt at that looks like this: from dash import dcc, html, Dash ...
1 vote
0 answers
123 views
Plotly - add dropdown list or buttons to OHLC / Candlestick graph
I have the following dataframe: lst = [['10/01/2025 8:30:00', 2.74, 2.87, 2.60, 2.65, 14, 'SPXW251001P06590000', 'P', 6590], ['10/01/2025 8:31:00', 2.80, 2.80, 2.50, 2.53, 61, '...
5 votes
1 answer
80 views
DateTimePicker doesn't work withDropdown while inside modal
I have a large application that is written in Dash with Dash Bootstrap Components (dbc). The problem is that dbc only has datepickers not datetimepickers, so I looked to Dash Mantine Components (dmc) ...
3 votes
1 answer
151 views
Plotly changes font size in 3D plot when updating via Dash
I am trying to create a 3D plot with plotly. In the plotting area, I want a grid of floating text annotations. This is my MWE: import plotly.graph_objs as go import dash from dash import html, dcc, ...
1 vote
1 answer
155 views
Subplot spacing with scaleanchor and constrain in plotly
I am trying to create a figure with three subplots. The bottom left subplot is supposed to be a 2D histogram with projections on the top and right sides. The 2D histogram is supposed to be square (...
1 vote
1 answer
88 views
Why is Dash ignoring the HOST environment variable?
I have this minimal Dash app: import os import dash from dash import html app = dash.Dash(__name__) app.layout = html.Div("Hello Dash!") print(f'{os.environ["HOST"]=}') app.run(...
0 votes
0 answers
47 views
How can I Properly Get Around Competing PORT Connections to Gather SQL Data?
I have one plotly-dash file, which collects data from a database that two other files are publishing to, one that collects data on power and the other on current. The two data collection files use ...
2 votes
1 answer
136 views
Change property of GeoJSON by clicking on a Map using Dash and Leaflet
Currently my code looks like this: import dash from dash import Output, Input, State, html, no_update import dash_leaflet as dl import osmnx as ox import json from numpy import dtype # Style-Funktion ...
1 vote
0 answers
48 views
Sensor script using DASH for User interface
Im working on a project at work that requires a UI for the machine operator to input required fields. The issue im having is trying to get the serial output to effect the blocks(Lowercase) input from ...
2 votes
0 answers
62 views
Plotly dashboard logout after refreshing page
I'm trying to make a Dashboard with Login, Register and Dashboard with Navbar and Tabs. With below code everything working well but I have a problem that if I refreshed page, Dashboard will return to ...
1 vote
2 answers
69 views
How to call a different set of inputs based on the drop-down option selected in dash?
I am building an image-processing app in dash, where the user uploads an image, selects a smoothing filter and then chooses between k-means clustering and thresholding to identify the foreground ...
1 vote
0 answers
54 views
Dash / Plotly: 3D camera resets on every update on mobile (Android/iOS)
I'm developping a Dash app with a 3D plot (dcc.Graph + plotly.graph_objs) that includes interactive features like cube overlays and filtering. The 3D scene works well on desktop — but on mobile (...
1 vote
1 answer
62 views
How to make sure the browser can interpret a url through dcc.Location
I am passing a string to the pathname property of a dcc.Location component in a callback function of my dash app. The string is structured like path?query1=test. When it actually runs, the ? gets url ...