def setup(): from glue.config import exporters, settings, preference_panes if not 'PLOTLY_USER' in settings: settings.add('PLOTLY_USER', 'Glue') if not 'PLOTLY_APIKEY' in settings: settings.add('PLOTLY_APIKEY', 't24aweai14') exporters.add('Plotly', save_plotly, can_save_plotly, outmode='label') preference_panes.add("Plotly", PlotlyPreferences)
def setup(): from glue.config import exporters, settings exporters.add('Plotly', save_plotly, can_save_plotly, outmode='label') settings.add('PLOTLY_USER', 'Glue') settings.add('PLOTLY_APIKEY', 't24aweai14')
def setup(): from glue.config import exporters, settings exporters.add("Plotly", save_plotly, can_save_plotly, outmode="label") settings.add("PLOTLY_USER", "Glue") settings.add("PLOTLY_APIKEY", "t24aweai14")