--- a/eric6/E5Graphics/E5GraphicsView.py Sat May 01 16:01:43 2021 +0200 +++ b/eric6/E5Graphics/E5GraphicsView.py Sat May 01 18:48:35 2021 +0200 @@ -283,10 +283,14 @@ Private method to retrieve the diagram from the scene fitting it in the minimum rectangle. - @param rect minimum rectangle fitting the diagram (QRectF) - @param imageFormat format for the image file (string) - @param filename name of the file for non pixmaps (string) - @return diagram pixmap to receive the diagram (QPixmap) + @param rect minimum rectangle fitting the diagram + @type QRectF + @param imageFormat format for the image file + @type str + @param filename name of the file for non pixmaps + str + @return paint device containing the diagram + @rtype QPixmap or QSvgGenerator """ selectedItems = self.scene().selectedItems()