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

Dash Callback inside a Function

Hello. I would like to use @app.callback in a function that is in another file than the main dashboard file. This function is called in main dashboard file and returns html.Div(), and I would like to...

View Article


Question regarding conditional formatting datatable

I have been trying to highligh/border an entire row if cell is active. But i cant seem to get this to work. styleActive = [{ ‘if’: { ‘state’: ‘selected’ # ‘active’ | ‘selected’ }, ‘border’: ‘1px solid...

View Article


Plot_ly library with R

I am trying to make a bar graph with plot_ly and then rendering it on the page using dccGraph(figure=that plot_ly object). The problem is that I want to have the information about all points shown...

View Article

Dynamic layout with multi page app

Hello everybody, I’m trying to build a multipage app, where each app can have a dynamic layout, but multipage apps (per https://dash.plotly.com/urls) don’t seem to be compatible with the approach...

View Article

Image may be NSFW.
Clik here to view.

Select text in dash_table

I’m relative new to Dash, and have a quick question. I’m using dash_table to present users the data. One of the column is text-heavy and the users want to use the cursor to select the content in the...

View Article


Image may be NSFW.
Clik here to view.

Scattermapbox Text/Annotate, style background

I added text-annotation to scattermapbox. I’d like to add white background behind the text, so that its more visible. Here’s a chunk of my code: # Property Location data.append({ "type":...

View Article

Clear selected dropdown values if the selection of radio button changes

I have a radio button selection and a dropdown selection. The values are listed in the dropdown based on the radio button selection. i.e: If i select a different radio button, different values are...

View Article

How to replace text on xaxis ticks

Hi, I saw some code , somewhere, a while ago that allowed for replacing text values on the x-axis with other text values?? I have a bar chart and the categories have long text … and I want to shorten...

View Article


Dash Table case-sensitive filter

Hey everyone, Does anyone know an easier way (then creating custom filters) to disable case-sensitivity in Dash Table filtering? Thanks! 2 posts - 2 participants Read full topic

View Article


Image may be NSFW.
Clik here to view.

Dcc.store cleared on page refresh even when storage_type = session?

Hi there, Hoping to gain some help/ understanding on the default behavior for dcc.store component. So far, I’ve noticed that whenever I refresh the page- the contents of the store component become...

View Article

SSL Certificate Issue in Dash Tutorial

Currently working through the Dash tutorials as new to both python and Plotly Dash. After completing two other Dash tutorials successful, I have run into a SSL issue after having produced an exact...

View Article

Is there a way to Live Update 3D graphs & Scattergeo plots?

I have a dashboard which has several 2D plots updating on a one second interval. The 3D plots and geoscatters that I have will update the graph only when the page is refreshed? Is there a way to...

View Article

How to secure my Dash app with HTTPS (SSL certification)

Currently, I am deploying my dash app in a docker container that is configured with uWSGI and Nginx. The dashboard is then accessible on the configured IP but with an http protocol. I would like to...

View Article


Image may be NSFW.
Clik here to view.

Automatically generate Plotly express bar charts using GPT-3

Hey all! In this thread, I wanted to share a GPT-3 app we have made, and start a follow up discussion to our tweets (please check them out for more context). Briefly, the Dash app lets you write a...

View Article

Dash Debugger UI Not Showing

I am running a simple Dash app with debugger turned on but I cannot see it in my browser (e.g., the little round widget at the bottom right) and I don’t see any trace backs when I have an error. I...

View Article


Image may be NSFW.
Clik here to view.

Css changes upon dash bootstrap component button click

I am using dash bootstrap elements and have a custom css file to set styling of different <divs> and use some inline style as well. However, when I click the dash bootstrap button, it messes up...

View Article

Deploy Dash on Kubernetes

Hi all, I’ve really been digging into creating infrastructure around real-time visualization of large datasets, mostly in the bioinformatics space. I’ve found Dash especially fun because its being...

View Article


Link to get back to Flask app from Dash app

Im trying integrate dash app inside flask, and basically what I need to achieve now is get link to home page working inside dash app. My code: from flask import Flask, render_template, redirect import...

View Article

Image may be NSFW.
Clik here to view.

Show and Tell - Server Side Caching

The Store component in Dash makes it easy to share state between callbacks. Under the hood, the data are stored as JSON in the browser. This approach is chosen to keep the server stateless (i guess),...

View Article

Multiple Linked RadioItems

Hi How can I link multiple RadioItems so if an option is pressed from one list, the already selected ones from other RadioItems get unselected? As an example let’s say we have the following...

View Article
Browsing all 6271 articles
Browse latest View live