I'd like to make the separation distance between two subplots to be
much smaller. How can I achieve this?
Use the subplots_adjust paramters, eg
fig.subplots_adjust(hspace=0)
JDH
···
On Nov 27, 2007 1:46 PM, Tom Johnson <tjhnson@...287...> wrote:
I'd like to make the separation distance between two subplots to be
much smaller. How can I achieve this?
This wasn't working for me...
from pylab import *
f = gcf()
f.subplots_adjust(hspace=0)
f.add_subplot(121)
f.add_subplot(122)
show()
Adjusting the space after adding the subplots did not work either (using SVN).
···
On Nov 27, 2007 11:48 AM, John Hunter <jdh2358@...287...> wrote:
Use the subplots_adjust paramters, eg
fig.subplots_adjust(hspace=0)
Doh! Sorry, I adjusted the wrong space.
···
On Nov 27, 2007 11:56 AM, Tom Johnson <tjhnson@...287...> wrote:
On Nov 27, 2007 11:48 AM, John Hunter <jdh2358@...287...> wrote:
> Use the subplots_adjust paramters, eg
>
> fig.subplots_adjust(hspace=0)
>This wasn't working for me...
from pylab import *
f = gcf()
f.subplots_adjust(hspace=0)
f.add_subplot(121)
f.add_subplot(122)
show()Adjusting the space after adding the subplots did not work either (using SVN).
Oh, I was assuming you wanted to adjust the space between two subplots
stacked one over another. For side-by-side, use wspace
f.subplots_adjust(wspace=0)
···
On Nov 27, 2007 1:56 PM, Tom Johnson <tjhnson@...287...> wrote:
> Use the subplots_adjust paramters, eg
> fig.subplots_adjust(hspace=0)
This wasn't working for me...