Source code for blissoda.exafs.plots
"""Bliss-side client for Flint EXAFS plots"""
try:
from bliss.flint.client.plots import BasePlot
except ImportError:
BasePlot = object
[docs]
class ExafsPlot(BasePlot):
WIDGET = "blissoda.exafs.widgets.ExafsWidget"
[docs]
def clear(self):
self.submit("clear")
[docs]
def remove_scan(self, legend):
self.submit("remove_scan", legend)
[docs]
def update_scan(self, legend, data, color=None):
self.submit("update_scan", legend, data, color=color)
[docs]
def get_scans(self):
return self.submit("get_scans")