def _enable_contours_changed(self, value):
        if self.module_manager is None:
            return
        if value:
            self.actor.inputs = [self.contour]
            if self.contour.filled_contours:
                self.actor.mapper.scalar_mode = 'use_cell_data'
        else:
            self.actor.inputs = [self.grid_plane]
            self.actor.mapper.scalar_mode = 'default'
        self.render()
Logs a messate to a defined io stream if available.
dataset/ETHPy150Open enthought/mayavi/mayavi/modules/contour_grid_plane.py/ContourGridPlane._enable_contours_changed--crossover with--dataset/ETHPy150Open jeffh/sniffer/sniffer/scanner/base.py/BaseScanner.log