Black Lives Matter. Please consider donating to Black Girls Code today.

Reduce space between plots

Hello all,

Plotly has been great thus far in helping me create graphs but I have currently run into some trouble with formatting. There is a lot of wasted space between the groups and I’m wondering if anyone here can help me bring them closer together. I’ve played around with it for a while but haven’t been able to figure it out. Thanks!

Here’s how:

wow! thanks!! Could you tell me how to apply these codes too? That would help a lot. Thanks!!

So I went ahead and figured out that you can use codepen etc. Where were you able to find the source for the html portion? I right clicked on my graph and clicked “view page source”. After that I don’t know which src to copy.