On Saturday, May 12, 2018 at 7:28:02 PM UTC+2, Luke Campagnola wrote: > > Qt provides several lower-level drawing primitives. In this case, you > probably want QGraphicsPathItem: > http://doc.qt.io/archives/qt-4.8/qgraphicspathitem.html > > You could also use pg.arrayToQPath to generate the QPath: > http://www.pyqtgraph.org/documentation/functions.html#pyqtgraph.arrayToQPath > > > More specifically, this QPainterPath should be painted on some QWidget, and I can't figure out which. My guess was the ViewBox, but I get:
TypeError: arguments did not match any overloaded call: QPainter(): too many arguments QPainter(QPaintDevice): argument 1 has unexpected type 'ViewBox' -- 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/6f927042-b73a-4d4e-ac81-4b7e084d8a8e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
