diff --git a/brainweb/__init__.py b/brainweb/__init__.py index f58436a..c8947ed 100644 --- a/brainweb/__init__.py +++ b/brainweb/__init__.py @@ -2,4 +2,4 @@ from .utils import __all__ # NOQA __author__ = "Casper O. da Costa-Luis " __licence__ = __license__ = "[MPLv2.0](https://www.mozilla.org/MPL/2.0)" -__version__ = "1.5.1" +__version__ = "1.5.2" diff --git a/brainweb/utils.py b/brainweb/utils.py index 8937d5f..8033e8e 100644 --- a/brainweb/utils.py +++ b/brainweb/utils.py @@ -364,7 +364,7 @@ def plot_slice(z): ax.set_xticks(()) ax.set_yticks(()) for _ in range(tight_layout): - plt.tight_layout(0, 0, 0) + plt.tight_layout(pad=0, h_pad=0, w_pad=0) # make sure to clear extra axes for ax in axs[axs.index(ax) + 1:]: ax.axis('off')