Skip to main content

All Questions

Tagged with or
2 votes
1 answer
58 views

import plotly.express as px import pandas as pd df = pd.DataFrame({ "country": ['Poland', 'Poland', 'Poland', 'Germany', 'Germany', 'Germany', 'France', '...
ignacy pernacy's user avatar
0 votes
0 answers
28 views

I am trying to create an animated choropleth map using Plotly that shows when certain countries legalised a policy. So basically, the map is animated to show each year and countries are coloured ...
Naomi's user avatar
  • 63
3 votes
1 answer
66 views

I am trying to use a dropdown menu in Plotly to update an image created using imshow. It renders fine initially, but using the dropdown to select new entries just gives me an empty array image. I'm a ...
ChrisM's user avatar
  • 2,300
-2 votes
1 answer
67 views

How can I avoid showing scientific values for Y axis in Dash Plotly? Scientific values for Y axis there marked below: As you can see here in below, I already added following rows in Y axis ...
Husni Salax's user avatar
  • 2,024
1 vote
1 answer
54 views

I have a dataframe with these columns: id_pair (pair of sensors) rssi_mean (detection strength) contact_day (day of the detection as string, e.g. 'Monday') study_week (week of the detection as ...
Johannes Wiesner's user avatar
1 vote
0 answers
81 views

I am trying to trigger a Python backend event when a user clicks on a bar in a px.bar chart. I just want to print a simple "handler" message to the terminal to verify that the click event is ...
jhoney's user avatar
  • 11
2 votes
2 answers
118 views

I would like to have the strip text of a facet wrap in bold with ggplotly. Unfortunately, when we convert the ggplot with bold titles to ggplotly, the labels aren't bold anymore. Here is simple ...
Quinten's user avatar
  • 43k
0 votes
1 answer
78 views

I want to make one dropdown menu for each level in a multi-indexed dataframe (rows are observations, columns are the elements of selection). It's quite straightforward to loop over each multi-index ...
Louis-Amand's user avatar
1 vote
1 answer
183 views

I'm trying to make an interactive wordcloud in Dash. Is it even possible? Also, I'm trying to make two different wordclouds, with each click being a different wordcloud: 1 click -> shows one ...
Rasmus Svendsen's user avatar
1 vote
2 answers
192 views

I'm creating a barplot in plotly where I want to add a vertical line. In the plot we initially only show one selected item from the legend. Now I want to have the vertical be the maximum height of the ...
Quinten's user avatar
  • 43k
1 vote
1 answer
93 views

When creating a line plot and filling between two lines using the fill = "tonexty" option, the legend order is reversed by default. How do you stop this happening? This problem has been ...
Rainfall.NZ's user avatar
2 votes
0 answers
98 views

I’m building a Dash app with dcc.Tabs. The tab content is rendered via a “router” callback that returns a layout object. Inside that layout I have a dash_table.DataTable that should be filled by a ...
Francisco Augusto Varela Aguir's user avatar
2 votes
1 answer
73 views

import plotly.graph_objects as go import solara as sol @sol.component def Plot(): ui_state = UIState() analyasis_view = AnalysisView() print("Rendering Plot Component") print(...
Simon Dierickx's user avatar
0 votes
1 answer
79 views

I have build a simple application with two pages (a multi-page Dash app) which I am running locally using Gunicorn with two workers and four threads. It's a simple dashboard application. When I ...
Haris Qureshi's user avatar
0 votes
0 answers
94 views

I want the dash.dcc.Dropdown to look like the dbc.DropdownMenu in the bootstrap site: This is my sample code: # -*- coding: utf-8 -*- from dash import Dash, dcc, html import dash_bootstrap_components ...
Clodoaldo Pinto's user avatar

15 30 50 per page
1
2 3 4 5
1044