From: Julian I. <jul...@gm...> - 2015-04-03 20:11:36
|
Hey, Just checking if I sent this out properly. Can someone reply to let me know that this was seen, even if you don't have an answer? Thanks, Julian On Mon, Mar 30, 2015 at 10:10 PM, Julian Irwin <jul...@gm...> wrote: > Hey, > > I am making a plot using nested GridSpec objects. I would like to adjust > the space between the the different GridSpecs. > > This works fine if I do something like: > > gs0 = gridspec.GridSpec(a, b) > gs1 = gridspec.GridSpec(c, d) > > gs0.update(...) > gs1.update(...) > > > However, If I use GridSpecFromSubplotSpec to make the gridspec-like > objects, this update() method is not provided: > > root_gs = gridspec.GridSpec(2, 1) > > gs0 = gridspec.GridSpecFromSubplotSpec(a, b, root_gs[0]) > gs1 = gridspec.GridSpecFromSubplotSpec(c, d, root_gs[1]) > > gs0.update() #not a method!! > > I probed around in gs0.__dict__ and dir(gs0) but I couldn't find the > right attributes...Can anyone suggest a solutions or a workaround? > > Thanks! > Julian > > |