Skip to content
Advertisement

Tag: figure

How to change plotly figure size

I have made a scatter plot using matplotlib and Plotly. I want the height, width and the markers to be scatter as in matplotlib plot. Please see the attached plots. I used the following code in Plotly I try to tune the range but did not help. In addition, I use Autorange that did not help. Could you please help

Matplotlib – adding subplots to a subplot?

I’m trying to create a figure that consists of a 2×2 grid, where in each quadrant there are 2 vertically stacked subplots (i.e. a 2×1 grid). I can’t seem to figure out how to achieve this, though. The closest I’ve gotten is using gridspec and some ugly code (see below), but because gridspec.update(hspace=X) changes the spacing for all of the

Matplotlib different size subplots

I need to add two subplots to a figure. One subplot needs to be about three times as wide as the second (same height). I accomplished this using GridSpec and the colspan argument but I would like to do this using figure so I can save to PDF. I can adjust the first figure using the figsize argument in the

Advertisement