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

Image may be NSFW.
Clik here to view.

Scatter plot behaving strange in dash app

I used following code in a notebook: df = pd.read_csv('day_wise.csv') fig = go.Figure() fig.add_trace(go.Scatter(x=df['date'], y = df['tot'], mode='lines+markers', connectgaps=True ) ) fig.show() And...

View Article


Fail to import dash

After running the code, it shows the message of: “Fail to import DASH, make sure there is no same file dash.py in this directory”. This code is able to run on my another PC. the difference is I...

View Article


Block property for dbc.buttongroup

Hey, I am using a Dash Bootstrap Buttongroup and want it to cover the whole space it has. For single buttons, there is the option to set the property “block” to True in order to have a button that...

View Article

Obtain metadata form image

Hi, i want to create an app that when the users uploads the images the app displays a map with a point on the location that the photo was taken (all the photos are taken by a drone so they have...

View Article

Clear selectedData when an Input changes state

I have a dash app with a bar-chart representing Counts over Dates (days). The bar chart is linked to a map (scattermapbox). Users can filter which dates show on the map by selecting (e.g. via box or...

View Article


Deploy live sentiment of tweets on a VPS

I am trying to deploy live sentiment analysis dashboard on a VPS in Linode/Heroku However, I cannot see live updates happening. My file structure: Inside /var/www/FlaskApp/FlaskApp:...

View Article

Image may be NSFW.
Clik here to view.

Fixed columns in dash data table breaks layout spread

I’m trying to set the two first columns of my table I want the two first columns of my table to be fixed but when I set the fixed_columns component the entire layout gets very small I am using dash...

View Article

Is there any way to stop the dash script running on cmd when the app is...

I am running a dash application through cmd and I need to exit the py script on the cmd after closing the tab on the browser (https//127.0.0.1/8050) on which the dash application is running. Any idea...

View Article


Filtering DataTable using input from another DataTable

I have two dataframes/datatables. df_1 is summary df_2 is detail Both are shown as datatable on the app. **df_1** id time type flag pass_count fail_cout fail_rate_% 1 t1 a false 1 t1 b true 1 1 50...

View Article


Image may be NSFW.
Clik here to view.

Default legend color problem

Hi, I am working on my plots and I saw behavior I want to eliminate. I plot four different colors and there is dropdown to choose which groups should be highlighted on red. However, when picking the...

View Article

Error loading dependencies message when trying to get a datatable from...

Hello, I am getting error loading dependencies error when running this code. This is supposed to be a webscraper where the user inputs the search term and amount of text to scrape. import dash import...

View Article

How can i have dash.callback_context triggered only for the button click in a...

I am quite new to programming and to plotly dash as well. I have some tabs in my dashboard and in each tab among other things i have a text input box (int) and a button that triggers some calculations...

View Article

Dash App (realtime filtering) with sql database

At present I have a global variable for the dataframe (df) that is from the first read from the sql db when the Dash app is run. After the user input filtering is done on this global df. I plan on...

View Article


Save downloaded file with custom filename

I have a button which downloads the data plotted on the graph as a CSV file. However, I am trying to include the variables related to the data along with the filename. Any tips on how to go about...

View Article

Rearrange Dash Elements

I’m making a dash app that displays a number of graphs, and I want to give the end user the ability to arrange the layout as they wish. It looks like this Dashboard Toolkit has the type of...

View Article


Use app.run_server in callback

Hi all, I hope someone can help me. I’m developing an app with Dash, in which one can upload some files at runtime using dcc.Upload. Then, I need to create some callbacks, depending on the uploaded...

View Article

Columns shrink when using a different laptop

(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) 1 post - 1 participant Read full topic

View Article


Layout change after switch laptop

(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) 1 post - 1 participant Read full topic

View Article

Change color of "filter data..." in dash-table?

Any ideas on how to change the color of the “filter data…” in a datatable? I have a black background which makes it hard to see the “filter data…”. I looked through the source code of the dash-table...

View Article

Edit dashtable by using dropdown

Hi all, I want to filter the table by using the year dropdown filter. So e.g. if I choose ‘1957’ I only want to see the according rows. I already coded this but I have absolutely no clue how to build...

View Article
Browsing all 6271 articles
Browse latest View live