Relative Content

Tag Archive for pythonplotly

Plotly not showing in colab

I was using colab and trying to use plotly but it doesn’t show anything no error but no plot as well, it just expand the output as it’s showing it but nothing. I though maybe it theme extension but I uninstalled it and nothing.

Bar Chart in plotly python

I’m trying to visualize some data, but I’m having trouble with the bar shapes not appearing correctly. Does anyone have suggestions on how to fix this issue? I would really appreciate any tips or solutions you can share! Thank you in advance for your help!
enter image description here

Remove legend from plotly volume plot

I am stuck I have to remove the legend from the plotly volume plot. The only reason for doing this is I am making a poster where I have bunch of similar figures and I will only figure with legend and remove others to save some space. I have wasted more than two hours but could not figure that out. Below is a sample code:

Update spacing between Plotly subplots

Is there a way to change the vertical/horizontal spacing between subplots in an existing figure?
I couldn’t find anything in the docs or user forum, and the following throws a Bad property error:

Plotly updatemenus – Only update specific parameters

I’m looking for a way to have two updatemenu buttons on a plotly figure. One changes the data and the y-axis title and one switches from linear to log scale. Broadly the code below works but I lose something depending on which method I use.

Plotly updatemenues – Only relayout specific parameters

I’m looking for a way to have two updatemenu buttons on a plotly figure. One changes the data and the y-axis title and one switches from linear to log scale. Broadly the code below works but I lose something depending on which method I use.