def METHOD_NAME(self):
    """
    Return python scripting content.
    """
    output = dict()
    if self.isChecked():
        options, sub_options = self._contour.options().toScriptString()
        output['filters'] = ['contour = chigger.filters.ContourFilter()']
        output['filters'] += ['contour.setOptions({})'.format(', '.join(options))]
        for key, value in sub_options.items():
            output['filters'] += ['contour.setOptions({}, {})'.format(METHOD_NAME(key), ', '.join(value))]
    return output