|
From: Alan G I. <ala...@gm...> - 2009-05-18 22:34:43
|
On 5/18/2009 6:25 PM Yannick Copin apparently wrote: > rowspan=2, colspan=3) should actually do. What would be the syntax for > the following layouts? > > +-----+-----+ > | | ax2 | > | ax1 +-----+ > | | ax3 | > +-----+-----+ subplot2grid(shape=(2,2), loc=(0,0), rowspan=2) subplot2grid(shape=(2,2), loc=(0,1)) subplot2grid(shape=(2,2), loc=(1,1)) > +-------+---+ > | | | > | ax1 |ax3| > | | | > +-------+---+ > | ax2 | > +-----------+ subplot2grid(shape=(3,3), loc=(0,0), rowspan=2, colspan=2) subplot2grid(shape=(3,3), loc=(0,2), rowspan=2) subplot2grid(shape=(3,3), loc=(2,0), colspan=3) Again, consider the tkinter grid manager. hth, Alan Isaac |