adalca / neurite

Neural networks toolbox focused on medical image analysis
Apache License 2.0
335 stars 67 forks source link

fix axes_off=False in plot.slices #81

Closed halleewong closed 8 months ago

halleewong commented 8 months ago

Keep axes on when axes_off=False in plot.slices. Currently axes are always removed.

adalca commented 8 months ago

Thanks @halleewong .

One problem with this is it changes default behaviour (all calls up to now would default to axes being off because of the bug, and now this changes). Maybe change the default to =True and keep the new if statement?

halleewong commented 8 months ago

The default is already axes_off=True, so the bug only affects users who want turn axes back on (axes_off=False)

adalca commented 8 months ago

oh i had misunderstood.