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

Plotly: How To Change The Trace Order, Or Switch The Sides Of The Axes In Plotly?

I am trying to get the line to display over the bar. It seems that whatever trace has secondary_y=T… Read more Plotly: How To Change The Trace Order, Or Switch The Sides Of The Axes In Plotly?

Plotly Contour Subplots Each Having Their Own Colorbar

I am trying to generate contours using Plotly. There are 5 contours which I am plotting in a 5x1 gr… Read more Plotly Contour Subplots Each Having Their Own Colorbar

How Can I Get All Plotly Plots Created Inside A For Loop Display In Single Browser Window?

I am trying to create several plots inside a for loop using plotly. Currently all the charts appear… Read more How Can I Get All Plotly Plots Created Inside A For Loop Display In Single Browser Window?

Why Is Go.scatter Printing Extra Lines Whereas Px.line Is Not?

Here is my code for graph_objects- go.Figure(go.Scatter(x=continent_df.date, y=continent_df.new_cas… Read more Why Is Go.scatter Printing Extra Lines Whereas Px.line Is Not?

Plotly: How To Specify Categorical X-axis Elements In A Plotly Express Animation?

I have the following data. I am using a slider, so that I can slide through the different dates (p… Read more Plotly: How To Specify Categorical X-axis Elements In A Plotly Express Animation?

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?

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

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?

Dash Plotly - Create A Dropdown Menu Dynamically, Selection Of Multiple Rows, Table Export?

I have a data set that looks like this: cat_id author year publisher country value (dollars)… Read more Dash Plotly - Create A Dropdown Menu Dynamically, Selection Of Multiple Rows, Table Export?

Plotly: How To Format Text (underline, Bold, Italic)

I try to underline text in plotly when using annotations. I add my annotations using import plotly… Read more Plotly: How To Format Text (underline, Bold, Italic)

Properly Setting Up Callbacks For Dynamic Dropdowns Plotly Dash

I am trying to create a Dash dashboard where dropdown options in one box are dependent on the previ… Read more Properly Setting Up Callbacks For Dynamic Dropdowns Plotly Dash

Plotly Set Showgrid = False For All Subplots

I've got 10+ subplots which I want to disable the grid lines for showgrid=False. I need to do t… Read more Plotly Set Showgrid = False For All Subplots

Python Plotly (px) Animation Frame Date Is In Wrong Order

With plotly express I've built a bar chart similar to as shown on their website. As px.bar did … Read more Python Plotly (px) Animation Frame Date Is In Wrong Order

Plotly Map: Inverse Colorscale Tick Values

In Plotly maps (Python), how can I inverse the tick labels on the colorscale so that the smallest v… Read more Plotly Map: Inverse Colorscale Tick Values

How To Avoid Duplicate Legend Labels In Plotly Or Pass Custom Legend Labels

How can I avoid duplicate legend labels in subplots? One way I would go about it in matplotlib woul… Read more How To Avoid Duplicate Legend Labels In Plotly Or Pass Custom Legend Labels

How To Fix 'dropdown Menu Read' Error In Plotly Dash

I have tried to re-create the following example Towards Data Science Example shown on the web I hav… Read more How To Fix 'dropdown Menu Read' Error In Plotly Dash

Animated Scatter Plot Over Surface (plotly)

I'm trying to make an animated scatter plot over fixed surface using plotly. This is a code I u… Read more Animated Scatter Plot Over Surface (plotly)

How To Display Plotly Outputs In Google Collaboratory Notebooks?

I searched whole day how to display the outputs of plotly plots in google colaboratory jupyter note… Read more How To Display Plotly Outputs In Google Collaboratory Notebooks?

Open A Url By Clicking A Data Point In Plotly?

I have successfully created plotly graphs from python, and gone as far as creating custom html tool… Read more Open A Url By Clicking A Data Point In Plotly?

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?