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 from glue.plugins.exporters.plotly.export_plotly import (can_save_plotly, DISPATCH, export_scatter, export_histogram) from glue.plugins.exporters.plotly.qt.exporter import save_plotly from glue.viewers.scatter.qt import ScatterViewer from glue.viewers.histogram.qt import HistogramViewer DISPATCH[ScatterViewer] = export_scatter DISPATCH[HistogramViewer] = export_histogram exporters.add('Plotly', save_plotly, can_save_plotly)
def setup(): from glue.config import exporters from glue.plugins.exporters.plotly.export_plotly import save_plotly, can_save_plotly exporters.add('Plotly', save_plotly, can_save_plotly)
def setup(): from glue.config import exporters exporters.add('D3PO', save_d3po, can_save_d3po, outmode='directory')
def setup(): from glue.config import exporters exporters.add("D3PO", save_d3po, can_save_d3po, outmode="directory")
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")