Fix matplotlib deprecation warning

Merged Philipp Arras requested to merge mpl_deprecationwarnings into NIFTy_7

Merge request reports