Skip to content

Commit c6294de

Browse files
committed
RF: changed test for membership
1 parent 0b9e86e commit c6294de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

surfer/viz.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,12 +566,12 @@ def _get_geo_params(self, cortex, alpha=1.0):
566566
vmin=-.2, vmax=2,
567567
opacity=alpha), True, True))
568568
if isinstance(cortex, dict):
569-
if not 'opacity' in cortex:
569+
if 'opacity' not in cortex:
570570
cortex['opacity'] = alpha
571571
if 'colormap' in cortex:
572-
if not 'vmin' in cortex:
572+
if 'vmin' not in cortex:
573573
cortex['vmin'] = -1
574-
if not 'vmax' in cortex:
574+
if 'vmax' not in cortex:
575575
cortex['vmax'] = 2
576576
geo_params = cortex, False, True
577577
elif cortex in colormap_map:

0 commit comments

Comments
 (0)