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]
22 questions
3
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
- 141
- 2
- 5
2
votes
1 answer
Plotly, scatter plot: what are the possible options for the dash entry in the line dictionary?
For example using some code like this one:
fig.add_scatter(x=x, y=y, mode='lines', line=dict(dash='dot'))
The possibilities I know of are 'lines', 'dash', 'dot' and 'dashdot'. I was looking for another way to differentiate a new plot using this…
user130819
- 61
- 1
- 6
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
- 1
- 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…
Heyzeuss
- 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
- 10
1
vote
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
- 11
- 5
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
2 answers
Basis of plotting
I need some help in clearing out basics of plotting in various plotting packages. Specifically matplotlib, seaborn and plotly. Certain fundamental principles are always same across all packages. Can you please refer a book or an online resource that…
user3851878
- 19
- 1
1
vote
0 answers
Plotting related multiple plots sharing an axis but each disjoint from each other
I want to plot related multiple plots sharing an axis but each disjoint from each other, i.e., same x-axis feature and scale but each of the other features has their own separate y-axis region with it's own scale. I looked it up extensively in…
Snape
- 11
- 1
1
vote
2 answers
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
- 2
- 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
- 240
- 4
- 12