def pointsFromGraph(self):
    pts = self.graph.value(self.uri, L9['points'])
    if (pts is not None):
        self.curve.set_from_string(pts)
    else:
        diskPts = self.graph.value(self.uri, L9['pointsFile'])
        if (diskPts is not None):
            self.curve.load(os.path.join(showconfig.curvesDir(), diskPts))
        else:
            log.warn('curve %s has no points', self.uri)
    self.watchCurvePointChanges()
def pointsFromGraph(self):
    pts = self.graph.value(self.uri, L9['points'])
    if (pts is not None):
        self.curve.set_from_string(pts)
    else:
        diskPts = self.graph.value(self.uri, L9['pointsFile'])
        if (diskPts is not None):
            self.curve.load(os.path.join(showconfig.curvesDir(), diskPts))
        else:
            log.warn('curve %s has no points', self.uri)
    self.watchCurvePointChanges()