Skip to content Skip to sidebar Skip to footer
Showing posts with the label Plotly

Obtain Coordinates Of A Polygon / Multi-polygon Around A Point In Python

I am using plotlys scattermapbox to draw a polygon around a point object. I'd like to draw a po… Read more Obtain Coordinates Of A Polygon / Multi-polygon Around A Point In Python

Plotly: How To Select Graph Source Using Dropdown?

I'm trying to embed multiple, selectable graphs in a single figure using Plotly, using a dropdo… Read more Plotly: How To Select Graph Source Using Dropdown?

How To Add Multiple Graphs To Dash App On A Single Browser Page?

How do I add multiple graphs show in in picture on a same page? I am trying to add html.Div compone… Read more How To Add Multiple Graphs To Dash App On A Single Browser Page?

Plotly: How To Rewrite A Standard Dash App To Launch It In Jupyterlab?

You can find a bunch of Dash examples in the plotly docs, and most examples end with a note on how … Read more Plotly: How To Rewrite A Standard Dash App To Launch It In Jupyterlab?

Is There Any Way To Retrieve A Local Variable From A Running Function?

Desperate. Say we have the following: def main(): ALotOFCode list1 = [] list2 = [] while condit… Read more Is There Any Way To Retrieve A Local Variable From A Running Function?

Python Package To Plot Two Heatmaps In One (split Each Square Into Two Triangles)

I've been searching around but couldn't find an easy solution to plot two heatmaps in one g… Read more Python Package To Plot Two Heatmaps In One (split Each Square Into Two Triangles)

How To Save Plotly Offline Graph In Format Png?

I am using Plotly offline to generate graph in python. As per the documentation below, https://plo… Read more How To Save Plotly Offline Graph In Format Png?

Seaborn Heatmap To Plotly Failed

I'm having plotly error when converting seaborn.heatmap figure to plotly. I'm doing that in… Read more Seaborn Heatmap To Plotly Failed

Plotly: How To Display Different Color Segments On A Line Chart For Specified Thresholds?

I have a multi-line graph that displays percent increase over time. I'd like to set a threshold… Read more Plotly: How To Display Different Color Segments On A Line Chart For Specified Thresholds?

Plotly: How To Set A Fill Color Between Two Vertical Lines?

Using matplotlib, we can 'trivially' fill the area between two vertical lines using fill_be… Read more Plotly: How To Set A Fill Color Between Two Vertical Lines?

Plotly: How To Plot Histogram In Root Style Showing Only The Contours Of The Histogram?

I want to make a histogram with this style: But using plotly in Python. I.e. I want to merge the b… Read more Plotly: How To Plot Histogram In Root Style Showing Only The Contours Of The Histogram?

How To Plot Discrete Colours With Plotly

My code so far: fig2 = plotly.subplots.make_subplots(rows=3, cols=1, shared_xaxes=True) fig2.append… Read more How To Plot Discrete Colours With Plotly

Is It Possible To Disable The Zoom/pan Window On A Plotly.py Candlestick Chart?

I am creating a candlestick plot using plotly.py. I would like to have a horizontal split and place… Read more Is It Possible To Disable The Zoom/pan Window On A Plotly.py Candlestick Chart?

Discontinuity On A 3d Surface

I am plotting data of a 3D distribution both with the scatter and the surface plot. As it is possib… Read more Discontinuity On A 3d Surface

How Do I Highlight An Entire Trace Upon Hover In Plotly For Python?

I want a trace to be highlighted (color or opacity change) when selected with mouse hover. I have … Read more How Do I Highlight An Entire Trace Upon Hover In Plotly For Python?

Plotly Bar Chart - Change Color Based On Positive/negative Value - Python

I have the following code which plots a bar chart (1 series), but I need the bars to be coloured bl… Read more Plotly Bar Chart - Change Color Based On Positive/negative Value - Python

Use Qwebengineview To Display Something Larger Than 2mb?

I'm trying to display some Plot.ly or Plot.ly Dash plots ( I haven't settled on using one o… Read more Use Qwebengineview To Display Something Larger Than 2mb?

Plotly: How To Add Trendline And Parallel Lines To Time Series Data?

My goal is to add 5 fit lines to the exchange index, which is a time series data. Below is what I w… Read more Plotly: How To Add Trendline And Parallel Lines To Time Series Data?

How Can I Search For The Options For A Particular Property Of A Plotly Figure?

The question In the figure below, the jagged shape of the line is set using 'hvh' as an arg… Read more How Can I Search For The Options For A Particular Property Of A Plotly Figure?

How To Add Counts Of Points As A Label In A Sparse Scatter Plot

I have sparse scatter plot to visualize the comparison of predicted vs actual values. The range of … Read more How To Add Counts Of Points As A Label In A Sparse Scatter Plot