diff --git a/examples/curve-pot.py b/examples/curve-pot.py index dbd8f6117dcc0e9e7fc04a5c6cc54b232a4c25e6..0ffb1173baab1b70f7369228e1cbc4cf99c9dcc3 100644 --- a/examples/curve-pot.py +++ b/examples/curve-pot.py @@ -232,13 +232,13 @@ def draw_pot_figure(aspect_ratio, plotval_vol[outlier_flag] = sum( nb[outlier_flag] for nb in neighbors)/len(neighbors) - fp.show_scalar_in_mayavi(scale*plotval_vol, maxval=1) + fp.show_scalar_in_mayavi(scale*plotval_vol, max_val=1) from mayavi import mlab mlab.colorbar() if 1: mlab.points3d( - native_curve.pos[:, 0], - native_curve.pos[:, 1], + native_curve.pos[0], + native_curve.pos[1], scale*plotval_c, scale_factor=0.02) mlab.show()