[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 ArticleMaking 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 ArticleCallbacks 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 ArticleUsing 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 ArticlePandas 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 ArticleDynamically 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 ArticleDash 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 ArticleInterval 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 ArticleMultiprocess 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 ArticleIOError: [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 ArticleBubble 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 ArticleMultiple 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 ArticleHow 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 ArticleEfficient 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 ArticlePlotly 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 ArticleTrigger 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 ArticleClient 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 ArticlePass 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 ArticleBetter 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 ArticleUS 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