|
From: Julian I. <jul...@gm...> - 2015-03-31 03:11:12
|
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 |