If you want the plot as your main widget in a window, just use a
QMainWindow and set the PlotWidget from pyqtgraph as the central widget.
If you want more control over your layout and where the plot is positioned
use Qt Creator and promote a Qt widget to a PlotWidget. See
here
http://www.pyqtg
as it turns out, i really was close. instead of taking the points from the
state, the handle postions needed to be mapped to parent. i adjusted the
MWE for those who are interested:
import pyqtgraph as pg
def roiMove():
"""Print the coordinates of the ROI."""
pts = roi.getSceneHandlePosit