@@ -663,9 +663,18 @@ def __getitem__(self):
663
663
"array data with `img.dataobj[slice]` or "
664
664
"`img.get_data()[slice]`" )
665
665
666
- def orthoview (self , ** kwargs ):
666
+ def orthoview (self , axes = None , vlim = None ):
667
667
"""Plot the image using OrthoSlicer3D
668
668
669
+ Parameters
670
+ ------------------
671
+ axes : tuple of mpl.Axes or None, optional
672
+ 3 or 4 axes instances for the 3 slices plus volumes,
673
+ or None (default).
674
+ vlim : array-like or None, optional
675
+ Value limits to display image and time series. Can be None
676
+ (default) to derive limits from data.
677
+
669
678
Returns
670
679
-------
671
680
viewer : instance of OrthoSlicer3D
@@ -677,5 +686,5 @@ def orthoview(self, **kwargs):
677
686
consider using viewer.show() (equivalently plt.show()) to show
678
687
the figure.
679
688
"""
680
- return OrthoSlicer3D (self .dataobj , self .affine ,
681
- title = self .get_filename (), ** kwargs )
689
+ return OrthoSlicer3D (self .dataobj , self .affine , axes = axes ,
690
+ title = self .get_filename (), vlim = vlim )
0 commit comments