From b817e3fccaf1319ce905830a958456747e6ef999 Mon Sep 17 00:00:00 2001 From: Eleftherios Garyfallidis Date: Thu, 3 Nov 2016 11:26:03 -0400 Subject: [PATCH] Reverted example to its original state --- doc/examples/reconst_csd.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/examples/reconst_csd.py b/doc/examples/reconst_csd.py index cff0f53cde..befb4e03c8 100644 --- a/doc/examples/reconst_csd.py +++ b/doc/examples/reconst_csd.py @@ -186,13 +186,10 @@ Here we visualize only a 30x30 region. """ -# fodf_spheres = fvtk.sphere_funcs(csd_odf, sphere, scale=1.3, norm=False) -from dipy.viz.actor import odf_slicer -fodf_spheres = odf_slicer(csd_odf, sphere=sphere, scale=1.3, norm=False, - colormap='jet', global_cm=False) +fodf_spheres = fvtk.sphere_funcs(csd_odf, sphere, scale=1.3, norm=False) + fvtk.add(ren, fodf_spheres) -fvtk.show(ren) print('Saving illustration as csd_odfs.png') fvtk.record(ren, out_path='csd_odfs.png', size=(600, 600))