Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Browsing all 6271 articles
Browse latest View live

[Solved] How to set layout of rangeslider and autoscale to subplot

I tried to add layout to my subplot, and it raises the following error message. I think I did something wrong about rangeslider and autoscale. Adding height and title is okay. ValueError: Invalid...

View Article


Making a Figure Editor in Dash?

I’m using Plotly offline, which means that I cannot access chart studios to edit plots on the fly, so I’ve decided to start making one that will work offline with Dash. I’m currently unable to figure...

View Article


Callbacks not triggered when tab clicked

I have a fairly complex dash that has a main DataTable on top and multiple tabs underneath. The content of the tabs (in a Div underneath) is loaded through callbacks (method presented in the doc)....

View Article

Using dcc.Interval for continuous update

Hi awesome community, I am trying to refresh my HTML content every moment using dcc.Interval but not being able to do that. I am following 2 - On the disk (e.g. on a file or on a new database) for...

View Article

Pandas merge command and pivot tables are not working

hi…i created this dashboard and it was working really well. but yesterday i tried adding two pareto charts to it and for that i need to add two more pandas dataframe and merge them. the whole pandas...

View Article


Dynamically created item is absent from Dash.layout and never trigger callbacks

PROBLEM: callbacks for dynamically created buttons do not register added a close-to-minimal example of dynamically creating buttons dynamic buttons get dynamic ID callbacks registered dynamically...

View Article

Image may be NSFW.
Clik here to view.

Dash table row selectable partially visible

Hi, I am trying to make selectable box more visible but for some reason only when i have this: style_table={ 'overflowY': 'auto', }, the box is only half visible. Any help appreciated. Another...

View Article

Interval related basic question for dcc.Interval

Hi, I want to use dcc.Interval, but have a fundamental question. interval= 20 * 1000 Does this mean 20 milliseconds or 20 seconds? 3 posts - 2 participants Read full topic

View Article


Multiprocess pipe data to callback and update values

Dash V.1.12.0 | DCC V1.10.0 | HTML V1.0.3 | Python3.8.2 | Ubuntu 20.04 I am aiming to live update data to my dashboard (plotly-dash) from a datastream I receive through a multiprocessing pipe....

View Article


IOError: [Errno 32] Broken pipe

Hi there, I created a python UI with the dash but recently sometimes run into the following error message: 80.82.65.74 - - [08/Jun/2020 00:18:52] code 400, message Bad request syntax ('\x05\x01\x00')...

View Article

Image may be NSFW.
Clik here to view.

Bubble pies in a scatterplot

Hello, community, is it possible to plot bubble pies in a scatterplot in dash as shown in pictures below thanks! 1 post - 1 participant Read full topic

View Article

Multiple modals: a use case for pattern-matching callback

Hi, I just want to share the use of pattern-matching callback to implement multiple modals in an app. To implement modal, one can use this tip from dash documentation:...

View Article

How to callback dcc.Loading for a process run?

Hi in my application, I have a button, a default, loading, error and output screen in my layout. I toggle between these 4 screens based on my button click. I need something like: if button is not...

View Article


Efficient clustering on map?

Hi I have a relatively straightforward problem: draw points on the map and do some action when a user clicks on any of the points. I have implemented it in two ways, first with MapBox and the other...

View Article

Plotly Dash - Different Y Axis

Hi, I am trying to set different y axis for these graphs. I have accomplished that via secondary_y parameter but with this approach I struggle to add different axis for Bar chart. Would you please...

View Article


Trigger callback when legend is clicked

Hi. How to activate callback when legends on Plotly graph in a Dash app is clicked? I want to re-draw the figure once a legend is clicked. That is, when legend for a given trace is clicked I need to...

View Article

Client side data from external source

Hello! I am trying to figure out if there is a way to get data from an external url (that returns a json), but with the data fetched by the client side and then returned to the dash app. Here is an...

View Article


Pass selected DataTable rows to dbc.Modal

Hi all, Im trying to make data table in which I could select some rows and pass that value to modal after clicking button. @app.callback( [Output("modal", "is_open"), Output("modal", "children")],...

View Article

Better solution for updating layout with dynamic dict keys?

The original method to update layout works. How can I change key (yaxis3) dynamically? I tried the following methods. Method A: fig[“layout”].update(yaxis3=dict(overlaying=“y1”)) Method B: # this...

View Article

US Economic Data Dashboard

Hi Everyone! I recently created a two tab data dashboard showing the US Unemployment data and US Census data by county/state. I’d love any comments or feedback, this was a very fun project (though the...

View Article
Browsing all 6271 articles
Browse latest View live


Latest Images