diff --git a/src/eddymotion/data/dmri.py b/src/eddymotion/data/dmri.py index 6e46f0b1..c48ddfff 100644 --- a/src/eddymotion/data/dmri.py +++ b/src/eddymotion/data/dmri.py @@ -181,7 +181,7 @@ def plot_gradients(self, **kwargs): """Visualize diffusion gradient.""" from nireports.reportlets.modality.dwi import plot_gradients as rpt_plot_gradients - return rpt_plot_gradients(self.gradients, **kwargs) + return rpt_plot_gradients(self.gradients.T, **kwargs) @classmethod def from_filename(cls, filename):