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

Plotly Express: AttributeError: 'Layout' object has no attribute 'color_scale'

I tried running the example from the documentation, import plotly.express as px df = px.data.iris() fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species") fig.show() but it get the...

View Article


Failure to deploy dash > 1.1 on Shinyproxy

Hi community, I am trying to deploy a dash 1.14 (or newer) app with Shinyproxy (tried 2.0.1 and 2.3.1). It seems that the last successful dash built than can work with Shinyproxy is: dash 1.1.1...

View Article


How to trigger a JavaScript function on load?

I’ve got a basic page that displays a table. I’m choosing Tablesorter for my table (https://mottie.github.io/tablesorter/docs/index.html). This is done by referencing the tablesorter theme in the...

View Article

How to upload multiple images onto canvas?

I am trying to do image annotation by converting scanned images in a pdf file to png or jpg format and annotating each one of them. How do I annotate multiple images on the canvas? Right now I am able...

View Article

Image may be NSFW.
Clik here to view.

Help required to save labels during annotation

It is surprising that the coordinates stay the same but the labels are erased. How do you save the labels annotated so that the data-table state does not change when I continue annotation? 1 post - 1...

View Article


Image may be NSFW.
Clik here to view.

Rangeselector button callback or persistence wanted

Hi there, I’m using the rangeselector buttons described here: plotly.com Range Slider and Selector Now you can implement range sliders and selectors in your Plotly graphs purely with python! I’d like...

View Article

Image may be NSFW.
Clik here to view.

Show and Tell - RNA visualization app for COVID Vaccine competition by...

Hello all! I found an awesome Dash app made by Atharva that lets you visualize Eterna’s RNA sequences & structure data, which were labeled with various degradation rates. eterna-dash628×648 1.65...

View Article

Image may be NSFW.
Clik here to view.

How to programitically trigger callbacks

I’m interested in how to programmatically trigger callbacks. I wan’t to make is so that my cached functions, which require expensive SQL queries, already have a cached result by the time a user...

View Article


Image may be NSFW.
Clik here to view.

How can I fix my table function to sync with my input @callback?

Greetings, first time poster here. My app is related to the Stock Market. Users can search for one or more stocks using the input search. Data will dynamically appear in both graph and table format,...

View Article


Multi-tab dash app : `dcc.Store` component in different tabs and exchanging...

Question on using dcc.Store in multi-tab structure app. I’d like to persist / store data switching between tabs. My multi-page / tabs dash app structure looks like: index.py app.py Tabs tab1.py...

View Article

I need to make the export button to download the csv file to the required folder

There is a small web application - there you can upload a file for processing via a button, then it is processed and the report on its processing is first presented to the dataframe, then converted to...

View Article

Is there any problem the codepen stylesheets?

Hi everybody! Until yesterday, my applications developed with Dash Plotly were displayed according to the style sheet https://codepen.io/chriddyp/pen/bWLwgP.css (with slight modifications on my part)....

View Article

Image may be NSFW.
Clik here to view.

modeBarButtonsToAdd requires 'button name'

Hi there, I was just recreating the steps from this tutorial https://eoss-image-processing.github.io/2020/05/06/shape-drawing.html where I am interested in making annotations to images. I also had a...

View Article


Add a trendline when the graph is already established

How can I add a trendline by selecting points on an already generated points in a scatter plot? 1 post - 1 participant Read full topic

View Article

Add an external Widget

Hi everyone, I’d like to add an external widget to a dash app. In the docs of the widget it says I have to add: <script type="text/javascript"...

View Article


Image may be NSFW.
Clik here to view.

Live Stage Visualization

Hi I am relatively new to Dash/plotly and currently exploring a possibility to show a live stage visual. To explain with an example, let’s say that I have a code written which keeps sending...

View Article

Image may be NSFW.
Clik here to view.

Putting a pin/marker on chloropleth mapbox

Hi, I am currently working with an animated chloropleth mapbox, I’m already using the base layer for a metric. Now I need to put a pin or marker on several different coordinates, I can only find...

View Article


My datatable won't appear

Here is my code. My last callback contains my datatable. import dash import dash_table as dt import dash_bootstrap_components as dbc import dash_core_components as dcc import dash_html_components as...

View Article

Canvas not getting updated

Why is the canvas not getting updated when I supply another file as input? import base64 import datetime import io import dash from dash.dependencies import Input, Output, State import...

View Article

Adding a dash_table breaks the style of my dcc.dropdown

Hello Im using a dark-them and all my components are corresponding to my custom stylesheet however, when I added a dash-table (even before styling it) all the dcc.dropdowns styles broke and...

View Article
Browsing all 6271 articles
Browse latest View live