Quantcast
Channel: 🎛️ Dash - Plotly Community Forum

Image may be NSFW.
Clik here to view.

DataTable: How to filter a boolean column?

Hello, I have a Dash DataTable with a column that contains a boolean value: The original values were 0 and 1 but I transformed them into the X n V emojis shown for a better UX. I have native filtering...

View Article


Validate coordinates (points) within a polygon

Friends I am working on a map made with Dash-Leaflet but it turns out that I am capturing data with EditControl from the frontend, I capture that data from the callback, I store that information in...

View Article


Image may be NSFW.
Clik here to view.

Dash 2.x Feature Preview: Simplified callbacks

Hey Dash Community, I’m excited about some new features we’re working on to make callbacks easier, more concise and use less boilerplate. I have a pull request in the works and would love to get some...

View Article

Using an icon (html.I) in a dbc.Alert results in a multiple values for...

Probably a noob mistake but I am trying to set an Icon in front of my warning message and am following the example here Icons - dbc docs . The only difference is that I have an id defined and it is...

View Article

dcc.Input Auto Complete Issues and looking for tips and tricks

Hi, I am trying to create an dcc.Input or dbc.Input that has an autocomplete, I want the autocomplete to select from a list. I have added a list under html.Datalist(id=‘vars’, children=vars_,...

View Article


Image may be NSFW.
Clik here to view.

Border-left and border-right not work in style_data_conditional

I have a Datatable build with Dash Python. I am trying to set up the border-left for some columns in style_data_coditional. What I notice is that I am not able to set the border-left nor border-right....

View Article

Texture Mapped VTK objects

Hi all, I have been messing around with Dash VTK. I have been trying to figure out how to map images onto models. Does anyone have any examples of this in dash? I was able to do this in plain vtk but...

View Article

Image may be NSFW.
Clik here to view.

Textarea not horizontally draggable

Hi all, dash.plotly.com Textarea | Dash for Python Documentation | Plotly Official examples and reference documentation for Textarea. html.Textarea is a dash_html_components component. I am using a...

View Article


Go.Scatter Help - Plotting 2 numpy.ndarrays

Hello, sorry if this a double post but my first post disappeared when I tried to add a ‘tag’ and I may have deleted it. I am having an issue plotting a visual in a DashApp that I am building - I am...

View Article


Image may be NSFW.
Clik here to view.

Is there a way to create a heatmap for a floor plan in Plotly?

Hi guys! I’m wondering if is possible to create a heatmap folium like but withing a building floor plan. Something like the image below. source: Creating a heat map in Live view Web | TIBCO Community...

View Article

Image may be NSFW.
Clik here to view.

How to call setProps of a child component?

I would like to be able to edit some component properties of child components. Say for example that I want to create a wrapper component Wrapper that changes the value of some_prop to some_value of...

View Article

Issue plotting FFT from numpy.ndarray

I am having an issue when I try to generate a FFT of a data set and then plot this in a Dashapp using go.scatter() function. I am new to programming - please be gentle. Here is my function - it takes...

View Article

Image may be NSFW.
Clik here to view.

Checklist example doesn't work Dash 2.0

I’m trying to use examples from the documentation but the examples no longer work without extensive component definition. In checklist documentation this is given as the first exapmle:...

View Article


How do you manage crossfiltering with multiple charts/filters?

I’ve been struggling with managing filters. By that, I mean that I have a data source with many fields. I have multiple charts, say, one for counts per year, another for counts per city, and another...

View Article

Trigger a callback on dbc.Carousel change

Is it possible to trigger a callback when the active item of a dbc.Carousel is changed? What I’m trying to do is add a link to the images of the carousel, and one way I thought might work is to wrap...

View Article


Dash Cognito Auth Logout

Hi, I have managed to use this package here to authorize login for my users. However, I am having trouble designing a logout system. So far, what I’ve done is code up the following method in the class...

View Article

Image may be NSFW.
Clik here to view.

Multiselect Dropdown with "Select All" option

I have 3 features: Region, Country and City. For simplicity I will keep the first 2 for now but I would like to apply the same logic to the City dropdown. I have radioitems for regions: EMEA, APAC,...

View Article


DashTable tooltip incorrectly displayed when using sort

The tooltip appears in the incorrect position after sorting the table. I ran a quick test using a snippet from DataTable Tooltips | Dash for Python Documentation | Plotly, and just added...

View Article

Image may be NSFW.
Clik here to view.

Allowing user to select what variables they want to see on a graph

Is there a way to allow users to choose what they want to be displayed on the graph? Something similar to this: So the graph initially loads with 1 and then if the user clicks 2 for example, the chart...

View Article

Image may be NSFW.
Clik here to view.

dcc.Dropdown increase the dropdown size

Hey guys, was wondering how to increase the dcc.Dropdown size so that it shows all the options rather than the first six and a vertical scrollbar as it is doing currently in the image attached My...

View Article

Page not found for Multipage app when running the code as a module

Dash version 2.2.0 and dash-labs is installed I am creating a multipage app with the latest dash version and trying to execute the scripts as python package. I get an error of page not found even when...

View Article


Please help with Dash Cytoscape node position if possible

I am trying to learn Dash Cytoscape and wanted to perform the following: generate a graph with networkx, apply a fruchterman-reingold algorithm to position the nodes, convert the data to the cytoscape...

View Article


dbc.Col + Pattern matching callback not working as expected

So here’s a minimum example of my code and I’m not sure why the col components that I’m adding in a pattern matching callback aren’t working as I would expect? They’re not the right size and they’re...

View Article

Image may be NSFW.
Clik here to view.

Display different components based on callback output condition

Is it possible to return different types of components based on what a callback returns? app.layout = dbc.Placeholder(id="fill_it") @app.callback( Output( dict( #<-- single Output accepts a dict of...

View Article

Dash to send two requests in parallel to the backen

Hi, My dash app is just a front for a restful API. The backend analyses data. The data is stored in another restful api. Data is huge. The backend stores some parameters. Requesting the parameters is...

View Article