Hi guys, I would like to draw plot items using stepMode=True and after that I would like to use setDownsampling() and setClipToView(). I have exception when i send data saying that:
"len(X) must be len(Y)+1 since stepMode=True" I set length of x and y values, but still I have the same exception when I call setDownsampling() and setClipToView() My code is something like this: # len(x_value) == len(y_value) self.subplot.plot(x=signal.x_value, y=signal.y_value[:-1], pen=signal.color, name=signal.name, stepMode=True) self.subplot.setDownsampling(ds=True, auto=False, mode='peak') self.subplot.setClipToView(clip=True) Is there something wrong that I am doing? -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/5becf9aa-0205-4c1a-a92c-6b14ea0ffb71%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
