Can you break out of a while loop based on the state of BooleanSwitch?
Hi Everybody, I’m loving dash, but there definitely are some nuances to it that has me head-scratching at times. I’m trying to figure out how to break out of a while loop properly based on the state...
View ArticleWhich input gets called on initialization in a multi-input callback?
Hello! Trying to understand what goes under the hood here. I have a callback function that relies on two inputs (ButtonA and ButtonB) and a state of a div component. When I initialize the app- which...
View ArticleMultipage Dashboard Using Dash and Plotly
Hello! I am developing a Multipage Dashboard related to cricket using Plotly and Dash in Python. I have made three separated dashboard for the followings: Teams, Venues and Players(Batsman &...
View ArticleShow and Tell - Download Component
Facilitated by the need to enable download of in-memory data, i wrote a Download component some time ago. I have recently updated the code and added a few examples to the documentation. As there has...
View Article:mega: Big new documentation page: The Figure Data Structure
(cross-post from the Plotly.py category to the Dash category) After listening to a lot of user feedback regarding our Plotly.py documentation, in customer workshops, on this forum, on StackOverflow,...
View ArticleCover coordinates by big marker
Hi, Is it possible to cover a few coordinate locations by one big marker? I want to show where clusters are. Right now I let them be connected by lines but it is not very nice. Other suggestions are...
View ArticleDcc.upload working on localhost but not on a hosted server in deployment
Hello All, I have built a multipage app. One of the pages from the app is shown in the code block below. In the layout section of this page there is a dcc.upload component. The data from this...
View ArticleShow and Tell - A web app to track the approval rate of Spanish politicians...
Hello everyone, This is my first post here . I wanted to share a side project I built using Dash: polituits.com. It’s a web app that tracks the sentiment towards Spanish politicians on twittter in,...
View ArticleHow to use @app.callback to check if multi attribute of dropdown is True or...
This is part of my code : html.H1(children='Market analysis', style={'textAlign': 'center'} ), dcc.Tabs(id='tabs', value='tab-1 ', vertical=True, children=[ dcc.Tab(label='Hourly Returns',...
View ArticleStore and then read ExcelFile
Hi! I need help with reading excel file from dcc.Store request_file = requests.get(file_url, headers={'X-ACCOUNT-TOKEN': token_k}) url_data = request_file.content if file_extension == 'csv':...
View ArticleShow and Tell - Covid19 Data Viewer
Perhaps not the most original idea in the current times, but I was inspired to make my first Dash app: an interactive Covid19 data viewer. Check it out! It use a multi-page layout, and has some...
View ArticleDownload Dash HTML page as pdf file?
Hello Everyone hope this question will be answered!, I have looked here and there without find a solution or an intuitive idea, How could we download the HTML page of Dash app as a PDF file on button...
View ArticleDash plotly update label in between calculation
I’m new to dash plotly and using this for some of my personal projects. Now I have a long calculation running and I need to update some status bar like label with progress with the calculation....
View ArticleExporting DataTable as csv bug
I am building a tool that creates cumulative loss triangles by querying a SQL database. After pulling the data I create the triangle tables using pandas Dataframe. The code snippets to create the...
View ArticleDash DataTable with markdown links behaviour since Dash v1.13.0
Hi there! I’ve noticed that, since Dash v1.13.0, Links in Markdown cells now open a new tab (target="_blank"), as specified in the release notes. How could this be changed? Previously i was able to...
View ArticleRecommended way to color unavailable data in choropleth_mapbox?
Hey all, I managed to plot a px.choropleth_mapbox, but I’d like to color my missing values (say, with gray). What’s the best approach to this? Couldn’t find anything. My code looks like this: with...
View ArticleData table cells cutting of content
Is there anything I can do about this? Running a dash app and the data table cuts off the content of the first columns cells. Untitled798×844 37.4 KB 1 post - 1 participant Read full topic
View Article:mega: Dash v1.13.4 Release: Fixes regression with loading states from...
Dash v1.13.4 is a minor patch which addresses a single issue: Resolves a regression that prevented multiple loading states from displaying concurrently when a callback updates multiple outputs...
View ArticleError loading layout, please advice how to proceed
I upgraded dash. I have a dash application with around 1000 lines of code and now get: “Error loading layout”. As HTML output. No error appears anywhere else. I don’t know what to do now. Any idea...
View ArticleHow to stop scrolling/compressing at the ends on hover
Hi all, First of all, many thanks for Plotly and Dash, and for making them open source. They are awesome tools! I have a chart with a line/scatter trace and overlaid on a bar chart. I used a callback...
View Article