Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def export_viz_to_widget(self, which_viz='viz'):
'''
Export viz JSON, for use with clustergrammer_widget. Formerly method was
named widget.
'''
return export_data.export_net_json(self, which_viz, 'no-indent')
def export_net_json(self, net_type='viz', indent='no-indent'):
'''
Export dat or viz JSON.
'''
return export_data.export_net_json(self, net_type, indent)