Example #1
0
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)
Example #2
0
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)
Example #3
0
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)
Example #4
0
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)
Example #5
0
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)
Example #6
0
def setup():
    from glue.config import exporters
    exporters.add('D3PO', save_d3po, can_save_d3po, outmode='directory')
Example #7
0
def setup():
    from glue.config import exporters
    exporters.add('D3PO', save_d3po, can_save_d3po, outmode='directory')
Example #8
0
def setup():
    from glue.config import exporters

    exporters.add("D3PO", save_d3po, can_save_d3po, outmode="directory")
Example #9
0
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')
Example #10
0
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')
Example #11
0
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")