Array buffer allocation failed
Hi all, I am geting Array buffer allocation failed error when I try to generate a 3D plot with huge number of data points in it. Here is an example of such plot when my n=800 Here is my sample code....
View ArticleCan't get dcc.Loading to act the way I want it to, only works for the first...
Greetings, I’m struggling to implement a loading icon next to my dropdown input. I can’t seem to be able to make that addition to my dashboard syntax below. I’m trying not to implement another...
View ArticleUpdate Graphs on Table Cell Hover
I have a replica of the Update Graphs on Hover Example working. I would like to do the same graph updates hovering over table cells. Is this possible? 1 post - 1 participant Read full topic
View Articledbc.CardBody font setting
The dbc.CardBody font seems hard set to Times New Roman. Defining .card .card-body .card-text { font-family: Arial, Helvetica, sans-serif; !important; } or using an additional className setting as...
View ArticleHow to read in a fasta file (gene sequence) using dcc.Upload()
I copied the example and change function parse_contents() like this: def parse_contents(contents, filename, date): content_type, content_string, = contents.split(',')...
View Articledbc.Row and dbc.Col for Plots
I use the following construction for my plots: import dash_core_components as dcc import dash_bootstrap_components as dbc dbc.Row([ dbc.Col(dcc.Graph()), dbc.Col(dcc.Graph()) ]) The problem is that my...
View ArticleAvoid cleaning previous frame during px.scatter animation
Hello, Currently I’m reproducing the Gapminder bubble diagram with Plotly Express. I cannot figure out hot to avoid that the data of the previous frame are cleaned up with the next frame. Indeed this...
View ArticlePlotly dash doen not update a image
Hi everybody. I have to update an image in a web page. I am using dcc.Interval to set the time interval and update the image from the url. The frequency is 30 seconds, however the image keeps the...
View ArticlePlotting a broken bar chart from .csv
Hello, I am searching for a bar chart which is capable of creating a plot like this: bar1366×640 3.86 KB I am reading from an .csv file and my data looks like this: 1. Task Start End Duration .... 2....
View ArticleCombining an input limit to my multi-dropdown callback is not functioning
trying to limit the amount of inputs a user can enter in my multi-dropdown. In my code below, I have it set to 4 values MAX! This code doesn’t bring back errors, but it’s not functioning like I want...
View ArticleDeploying a Dash app with large total asset size for free
Hi everyone I’m trying to find a way to deploy a Dash app with a large amount of assets (±1.3GB) for free. I’ve deployed with Heroku before, but it looks like the maximum allowed slug size is 500MB....
View ArticleText is cut-off in Plotly horizontal bar chart
I created horizontal bar chart in Plotly-dash, but bar text size doesn’t fit to the figure size, so part of the text is cut (please see red-framed area on the screenshot attached). I tried the...
View ArticleDo not show all permutations of symbols and colors as legend
I’d like to reduce the following legend: to one, that would show colors {YF: blue, PF: red} and symbols {cirlce: GUT, diamond: LIPOPROTEIN, square: FAT BODY, cross: WING DISC} 2 posts - 1 participant...
View ArticleOrdering children with drag & drop, how to trigger "dash component has...
I would like to be able to reorder the children of a div. I have seen a previous example (Drag and drop cards) that allow to drag&drop elements thanks to the Dragula js library. However, while on...
View ArticleConsole Output to DCC Markdown
I have an ASCII representation of a decision tree output to the console: image937×410 6.92 KB However, in Dash Plotly, this renders as: image1861×472 11 KB In Notepad++ with all characters being...
View ArticleBoundary between layouts and components?
Hi friends, I’m trying to evaluate whether I should implement my re-usable functionalty/dashboard as a custom component or a layout. I’m looking for a more or less exact definition of where I should...
View ArticleText color in Dash Datatable's dropdowns
Hi everyone. I hope you are safe. I am making a Datatable that includes a column with dropdowns. In the app, there is an option to change the Bootstrap theme (yes it’s with Bootstrap), and I made a...
View ArticleHow to timeout cached data using sessions, not cache timeout argument
When a user logs in, I load some dataframes for processing into a simple cache. I don’t want these to persist forever of course. But I also ONLY want them to stop persisting when the user’s session...
View ArticleScrollbar in browser jumping in and out
Whenever I type into an input field or click on certain components in my layout, the scrollbar jumps in and out, making the size of the layout change rapidly and hence screen flickering. I’m using...
View ArticleHow to tell if user is mobile or desktop in backend?
I have some functionality that will differ between mobile/desktop. More than just styling but actually the input into a callback should be different depending on the screen width. Anyone know of some...
View Article