plotly Questions
3
Solved
I would like to create a colormap with n colors for a plotly express plot in Python, which should fade from one color into another.
All the default colormaps only have 10 discrete values, but I am ...
Stranger asked 22/6, 2021 at 9:57
5
I have built a plotly interactive dashboard, and am looking a way to export this app to HTML format, and share it with others.
Is there any hints for me?
I have googled, and most answer divert m...
Peduncle asked 6/2, 2020 at 14:45
5
Solved
I am creating a candlestick plot using plotly.py. I would like to have a horizontal split and place the candlestick data in the top split and some data curves in the bottom bottom split. I do not n...
3
Solved
Here's what I have, so far:
f1 <- list(
family = "Arial, sans-serif",
size = 25,
color = "white"
)
f2 <- list(
family = "Old Standard TT, serif",
size = 14,
color = "black"
)
a <- ...
5
I want to plot math symbols in a plotly dash app.
For example, I've Tried this:
import dash
import dash_html_components as html
app = dash.Dash(__name__)
app.layout = html.Div(
children=[
html.P...
Kaylil asked 12/8, 2020 at 15:16
5
Solved
I am drawing a correlation matrix of the Titanic dataset.
df_corr = df.corr()
Originally, the matrix looks like this:
fig = ff.create_annotated_heatmap(
z=df_corr.to_numpy(),
x=df_corr.columns.t...
Limp asked 25/1, 2021 at 8:48
2
Solved
I am trying to change the color of the individual bars of a waterfall chart using R Plotly. More specifically the first and the last bar, I want it to be blue and yellow respectively. So in the bel...
3
Solved
I installed plot.ly using conda and tried to use it in offline mode on Jupyterlab:
from plotly.offline import init_notebook_mode
init_notebook_mode(connected=True)
The Firefox developer console ...
Staysail asked 11/1, 2019 at 14:39
3
Solved
I have datframe as df which has a column that I am passing under y as 'parameter' as shown below and it to be plotted against variable 'time'. This variable has 2 labels under the column 'labels' w...
Arcade asked 1/10, 2020 at 15:47
3
I want to create a bar chart using python plotly, with on the x-axis dates as strings/categories. For some reason, plotly keeps transforming strings to dates. My x-axis is continuous "timeline" of ...
2
I want to update my bar chart using a slider bar for the values of each bar. However, I want the bars to dynamically change as the slider changes. I have achieved this using oninput. Currently, I h...
Salangi asked 11/3, 2016 at 17:36
2
I have a large number of trace lines being displayed. 50-200 typically. I am comparing historical data to simulated data. I want to highlight a single simulated traceline by selection via a differe...
Sommer asked 12/12, 2016 at 0:49
2
I am trying to plot a line chart. Below is my code
CODE :
import plotly.offline as pyo
import plotly.graph_objects as go
flag = determineFlag('2020-03-01','2020-03-30')
df_r = getDataForTrend(df...
2
Solved
As a minimum example, let's say we have next polars.DataFrame:
df = pl.DataFrame({"sub_id": [1,2,3], "engagement": ["one:one,two:two", "one:two,two:one", &qu...
Vizier asked 11/3 at 20:47
3
Solved
I'm trying to use a custom marker type in a plotly dash app. I'm defining my graph as below:
html.Div(
[
dcc.Graph(
figure=dict(
data=[
dict(
x=[5, 10, 20, 15],
y=[1, 2, 1, 3],
type='scatt...
Hale asked 1/4, 2020 at 5:39
4
I am trying to plot something with a huge number of data points (2mm-3mm) using plotly.
When I run
py.iplot(fig, filename='test plot')
I get the following error:
Woah there! Look at all thos...
1
I have a dataframe df that contains values over time (process data). I have a dataframe ef that contains events (alarms) that have a starting time and end time. I would like to combine them togethe...
Traceable asked 14/12, 2020 at 20:7
3
I have created the above plot using plotly express:
import plotly.express as px
fig = px.line(mini_df,
x=mini_df.index,
y=mini_df[mini_df.columns[1]],
color=mini_df[mini_df.columns[0]])
I am...
2
Solved
I currently have an indicator chart (gauge) from plotly where the value is shown by how far a dark blue center reaches. However, that looks a bit odd to me, so I would like to change it to have a n...
4
Solved
So I'm trying to integrate plotly with my django app however I'm having an issue rendering a chart. I was using VSCode which did not pick up the dependency conflict.
However when i started to use P...
Vorous asked 21/2, 2022 at 11:18
2
Solved
Is there any difference between add_trace and append_trace in Plotly? Is the latter a legacy of the former?
In the Plotly.py GitHub, there are 88 markdown + 21 Python instances of add_trace and 9 m...
Summerwood asked 30/12, 2020 at 10:17
6
Solved
I'm running into layout difficulties with the plots on Dash. All the plots I generate with Dash seem to be auto sized to be very narrow, which makes it hard to actually view the data without some c...
Osteoarthritis asked 18/9, 2017 at 19:54
6
I am very new to python and plotly.express, and I find it very confusing...
I am trying to use the principle of adding different traces to my figure, using example code shown here https://plotly.co...
Rachaba asked 31/5, 2020 at 20:20
1
Solved
There is a similar question, but it only asks this for a regular figure. The respective answers do not work with subplots:
https://mcmap.net/q/994235/-how-to-set-heatmap-aspect-ratio
https://mcmap....
2
When I'm trying to make 3D plots in JupyterLab using plotly, I sometimes get the error message:
WebGL is not supported by your browser - visit https://get.webgl.org for more info
What is going...
Drug asked 29/10, 2019 at 21:10
© 2022 - 2024 — McMap. All rights reserved.