Plotly is a technical computing software solution, that develops online data analytics and visualization tools. Plotly provides online graphing, analytics, and statistics tools and scientific graphing libraries for Python, R, MATLAB, Perl, Julia, Arduino, and REST. The Products of Plotly are Dash, Dash Enterprise, Chart Studio Cloud, Chart Studio Enterprise, Data visualization libraries and Figure Converters for matplotlib and ggplot2.
Questions tagged [plotly]
21 questions
2
votes
1 answer
How can I plot a 3d antenna radiation pattern in python?
I'm trying to plot a 3d antenna radiation pattern using python (or js if possible) but my code is not working.
Here is what my dataset looks like:
Theta [deg.] Phi [deg.] Abs(RCS )[dB(m^2)] Abs(Theta)[dB(m^2)] Phase(Theta)[deg.] Abs(Phi …
Farzin
- 131
- 1
- 5
2
votes
1 answer
Plotly: what's the difference between ols and lowess trendlines
I'm plotting a dataset with a trendline, but using ols vs lowess gives me significantly different line shapes. I'm sure this is an expected and perfectly normal result, but I'm afraid I don't understand the significance of the difference. Could…
dlanced
- 123
- 5
1
vote
0 answers
Axis date format for a surface plot in Plotly
My date format for my axis labels works fine if the chart type is heatmap or contour, but when I make a surface plot, my date format is not taken, and a default format is used instead. I want the date format to show the month and day, leaving out…
Iktys
- 111
- 1
1
vote
1 answer
Incorrect visualisation using Plotly
kmeans = KMeans(n_clusters=4)
model = kmeans.fit(europe_july)
pred = model.labels_
europe_july['cluster'] = pred
pca = PCA(n_components=2)
pca_model = pca.fit_transform(europe_july)
data_transform = pd.DataFrame(data = pca_model, columns =…
vojtak
- 241
- 1
- 2
- 6
1
vote
0 answers
Heatmap of large 2D array using datashader and plotly
I’m trying to show a heatmap of a large 2D array (160x250000 entries). This should go into a dash app so I'm using plotly to deal with graphics and my idea was to use datashader for performance but I’m having troubles getting it right. However,…
andins
- 56
- 9
1
vote
0 answers
can't get correct plot from alpha vantage and plotly
I am trying to plot a week stock data from alpha vantage with plotly but I get weird plots compared to other source's plot like google's chart for example.
data, meta_data = ts.get_intraday(symbol='MSFT',interval='1min', outputsize='full')
data =…
Lee
- 11
- 1
1
vote
0 answers
Dynamically create dependent column based other column values in dash
Guys i have this table in dash the following columns are drop down columns Reason Code, Staging and Overwrite. Based on their values i want to create values under Final Staging column dynamically in dash
Here is my code
app.layout =…
Eddie Kwasi Dankie
- 11
- 3
1
vote
1 answer
How can I remove legend from the figure in seaborn?
Here is my diagrams,
I want to remove the labels of the second bar that is C1,C2,C3,C4,C5, because it is repeating.
Tariq Hussain
- 53
- 1
- 8
1
vote
0 answers
Plotly Express Choropleth Map Animation loading extremely long
I am making an animated choropleth map of regions in Czechia. When I run it without the animation, purely on one set of the data it takes 7.5 seconds. Here is the code for that.
However when I tried making the animation I had to stop it after 16…
brownie
- 11
- 1
1
vote
0 answers
px.choropleth not showing any map, but just the legend!
I am unable to figure out why below code doesn't give proper o/p as maps, but just legends.
*Summary_Table is my data_frame that contains 'id' and 'Total Deaths' and geojson_data contains the location data.
fig=px.choropleth(Summary_Table,
…
nve
- 11
- 1
0
votes
1 answer
How to plot the bar charts of precision, recall, and f-measure?
I have used 4 machine learning models on a task and now I am struggling to plot their bar charts just like shown below in the image. I am printing classification report to get precision, recall etc. My code is shown:
def Statistics(data):
#…
Hamza
- 229
- 3
- 11
0
votes
2 answers
Time Series data visualization
When I visualize data using matplotlib it displays very well, but when using Plotly, the data display very bad.
andow
- 1
0
votes
1 answer
Choropleth Map with plotly.express doesn't show map, just legend
I copied the "Indexing by GeoJSON Properties" example as seen on the Choropleth Maps in Python page. The code was executed with no error but there was no map showing, only the legend. In addition, the 'box', 'pan', 'zoom' options show but don't…
Almog
- 125
- 1
- 6
0
votes
1 answer
How to add a filter/query/condition in Plotly
I want to add a condition to the column where attractionName.value_counts() >=165. How can I add a query/filter/condition to a DataFrame before I plot the data.
fig = px.bar(rwgor, x="attractionName", y="attraction score summary", color="attraction…
ujwal kandi
- 1
- 4
0
votes
0 answers
how can i plot a stacked bar chart by year with two values(columns)?
not sure if this is correct medium, but i am having trouble plotting this simple data:
how do i get the graph below - aplogies for this poor picture.
basically i want it stacked with the risk label being the legend, but the predicted and actual…
Maths12
- 496
- 5
- 14