I have this dashboard-
import datetime
import dash
from dash import dcc, html
import plotly
from dash.dependencies import Input, Output
from pyorbital.orbital import Orbital
satellite = Orbital('TERRA')
app = dash.Dash(__name__)
app.layout =…
I have used plotly's scatter and scattergl extensively for the last 2-3 years. However, for some strange reason scattergl has stopped working for the last couple of days. I can generate the html plot, but when I open it, my browser either shows the…
I have a line plot with a bunch of signals in the form of (wavelength, intensity) derived from an optics experiment. All of them share the exact same index (wavelength in the range of visible light).
I want to add a simple, static horizontal…
I am currently using Plotly Dash, Python Flask to make an simple app. And I am deploying this app with azure. When I deploy the app with azure, it is causing errors saying:
2022-08-18T11:23:57.750944156Z: [ERROR] [2022-08-18 11:23:57 +0000] [77]…
Following my question here, I am now building nice treemaps.
I would like to show the aggregate value of the branch next to its label (Equities and ETFs). I have looked at px.treemap and fig.update_layout parameters but I can't find what I am…
I want to create a pie chart with two columns as values and 1 column with labels, dataset image is attack and I want results in males who brought and do not bought car and the same for females. image
i have a question regarding subplots.
i’m creating plots using this command:
figure = make_subplots(
rows=4,
cols=1,
shared_xaxes=True,
subplot_titles=("title1", "title2", "title3", "title4"),
…
I'm working on a quadrant chart, but a bit stumped on how to get some annotations outside of my Plotly quadrant chart. I have provided some data data and code that I used below.
#the libraries
import pandas as pd
import numpy as np
import…
I'm new in plotly and dash. I'm trying to make two dropdown menu that can choose multiple options. When I choose 1 and 2 on first dropdown menu and choose 2 and 3 on second dropdown menu, my expectation is showing line graphs(1-2,1-3,2-2,2-3) Here…
I am trying to create a radar plot in plotly. I am not sure how to add multiple lines to the same plot. I could find the add_trace option in plotly.graph_objects as go (https://plotly.com/python/radar-chart/). But I am not sure how to add multiple…
I am building a basic dashboard that displays the word count from messages in my friends' group chat.
The graph works correctly on a desktop browser:
However on mobile the graph has no width at all:
How can I fix this? Any help would be much…
I'm working on a graph that ilustrates computer usage each day. I want to have a button that will group dates monthly for last year and set y as AVERAGE (mean) and draw avg line.
My code:
import datetime
import numpy as np
import pandas as pd
import…
Here is an image:
I want to plot three error graphs with predicted vs actual values in one plot, scatter plots. I couldn't figure out how to do that with plotly.express, but I figured it out with graph_objects library of plotly. But now I want to…
I want to represent time_spent as combination of hours and minutes instead of bare seconds. I tried making HoursAndMinutes column and then adding it as y axis into graph, but that ruined scalling of bars. I want to be able to see time in format of…