Relative Content

Tag Archive for pythonplotly

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.

How do i shift the axis of a chart in plotly

I’m trying to make this ridgeplot chart in plotly and its mostly working ok, but for some reason the top trace is getting cut off and i can’t figure out how to move the trace down a bit. I can do it manually by dragging the axis