wiheto / netplotbrain

A package to create simple 3D network visualizations on a brain.
Apache License 2.0
67 stars 7 forks source link

Bug(ish): Multi panel figures with one title should only generate one title #28

Closed wiheto closed 2 years ago

wiheto commented 2 years ago

Not really a bug, but kinda. Title is currently one of the variables that has the behaviour that is asked for in #27 however it is the one variable where this behaviour is not wanted to be repeated if given a singular string.

When specifying title in a multi-axis figure it has to be something like (here 3 panels):

['', 'This is the title', '']

For it to only appear once. Otherwise, if:

title='This is the title'

is given to netplotbrain.plot, it will generate:

['This is the title', 'This is the title', 'This is the title']

when the desired behaviours is going to generally be:

['', 'This is the title', '']

Additionally, we would probably want a titlealign argument where, if "left" will make

['This is the title', '', '']

And so on.