The current GraphicsScene class has the following method:
def getViewWidget(self):
return self.views()[0]
But calling it without having created a GraphicsView causes a IndexError
because self.views() returns a empty list. Shall the method return None in
case it has no view associated?
--
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/4c338a86-269f-425c-b310-1ea8e3445091n%40googlegroups.com.