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.

Dash is written on top of Plotly.js and React.js, and its Python implementation uses Flask on the backend.

Extensive documentation and a gallery of examples are available.

Dash is an open source library, released under the MIT license.

Enter image description here

Enter image description here

Enter image description here

4538 questions
1
vote
0 answers

Can external stylesheets run in Dash in the Julia REPL

When I use the Julia REPL it ignores the external stylesheet. The whole application is in a package. I have tried inline styling and adding the file to the external stylesheet array at the beginning of the application. Using REPL Using…
1
vote
0 answers

Send initial arguments from a Django view to Dash and read it outside layout

I have an scatter plot on Dash. This scatterplot takes the values from SQL depending on the input parameter id. After querying the database with id, in case it is the first time it is accessed the given id element, it saves the x,y values in a…
qwerty
  • 486
  • 1
  • 11
  • 37
1
vote
1 answer

Combine dash extensions with dask

I have an existing dash app that uses dash extensions. I also have installed dask (distributed) to make use of the futures. In order to get this set up I need to create a client like so which is in my results.py: from dask.distributed import Client…
mp252
  • 453
  • 1
  • 6
  • 18
1
vote
1 answer

Dash Cytoscape from python networks graph not honouring the nodes coordinates

I am trying to learn Dash Cytoscape and wanted to perform the following: generate a graph with network, apply a fruchterman-reingold algorithm to position the nodes, convert the data to the cytoscape format and display it in a Dash app. Here is the…
Robert Alexander
  • 875
  • 9
  • 24
1
vote
1 answer

Unable to run dash_interactive_graphviz

I created a huge Graphviz Network, which I now want to spice up with some interactivity. For this goal I discovered the package dash_interactive_graphviz. From my understanding I can simple provide my existing graph, but I'm already failing to…
JohnDoe
  • 11
  • 2
1
vote
2 answers

How to change hovertext window size in Dash/Plotly?

How to change the size of the hovertext window ? I’m using hovermode=‘x unified’ and I’d like to see full name of trace.
1
vote
0 answers

dash/plotly multiple dropdowns within datatable based on another column value

is it possible (and if so how can this be done) to have dropdowns inside a datable where the items in the dropdowns are based on the entry made by the user in another column? For instance, assume I have an editable datatable with 3 columns (and a…
Hotone
  • 431
  • 3
  • 18
1
vote
1 answer

Dash - html.P too width when add text

What function can I use in order to add a comment below a html.Iframe plot in Dash? I am using html.P but this works awful making the plot too width once I add the text. html.Iframe(id='my-graph', style={'display': 'block', 'width': '400%',…
Newbie
  • 451
  • 1
  • 3
  • 14
1
vote
1 answer

Dash bootstrap how to split the app layout

I am having some trouble to achieve the layout in the image below. What is left is for me is to add those 3 graphs that I included in blue. So far, I have included everything in 1 row using up all 12 columns: Col 1: with dropdowns and checklists →…
1
vote
1 answer

Can I add an onclick function to a plotly express bar chart?

I want to add a modal to my dash app that shows a table of filtered data connected to a barchart, when I click on a bar in the barchart it will filter the table depending on the data x value of the clicked bar. Is that possible to do?
1
vote
1 answer

Plotly-dash python - exactly same code but different result? One working and one are not?

I run this plotly dash using jupyter notebook & Firefox. problem is, if I typed it manually it's not working? But when I try copied from script provided by my course it's exactly work as it is. The code is same, formating is also same. But why? I…
1
vote
0 answers

Convert P4DT6H2M format to normal format in dash data table

I am working on a KPI. I have a data frame which has two columns with different date time. I want to find the difference in time and group by its service and find the average time taken for each service. Then i want to display the service and…
Thiyagu
  • 11
  • 1
1
vote
2 answers

How to prevent a Dash app influenced by user during a long_callback, Python3?

I have made a app: Dash is used to make the browser-based gui and the backend calculation is made in purely Python3. Since the calculation can take from seconds to hours or even days depending on the user's study case, I used the decorator of…
aura
  • 383
  • 7
  • 24
1
vote
1 answer

Dash Heroku App: Couldn't find that process type (web)

I am building Python Dash Heroku app, and I keep running into the following issue when attempting to add a Dyno to my project (heroku ps:scale web=1): Couldn't find that process type (web). I have looked at the logs, and have the following H14…
1
vote
0 answers

Why I can't embed Twitter in my dash app?

i'm trying to embed the twitter timeline of an account in my dash app. I noticed that it does not work if i put the following code into the app entry : dash_dangerously_set_inner_html.DangerouslySetInnerHTML(< a class="twitter-timeline"…
1 2 3
99
100