netplotbrain icon indicating copy to clipboard operation
netplotbrain copied to clipboard

Adjusting Brain Size in netplotbrain Figures

Open hasibagen opened this issue 9 months ago • 8 comments

Hi,

I'm using netplotbrain on Ubuntu 22.04 with the latest version. When I generate a brain figure using the following code:

figpick, ax = netplotbrain.plot(template='MNI152NLin2009cAsym',
template_style='glass',template_glass_maxalpha=0.08,template_color='black',title = None,node_colorlegend=False)
figpick.set_size_inches(10, 10)

figpick.subplots_adjust(left=0, right=1, top=1, bottom=0)

figpick.tight_layout()

figpick.show()

I noticed that the brain appears quite small relative to the figure canvas, leaving a lot of empty space around it. No matter how I adjust the figure size, the brain still occupies only a small portion of the canvas.

Is there a way to make the brain fill more of the figure area? I'd like to have the brain take up the entire canvas without excessive margins.

Thanks!

hasibagen avatar Mar 27 '25 09:03 hasibagen