Skip to content

Commit bc8b1dd

Browse files
committed
Add return section to docstring of pixelSize
1 parent 0d86013 commit bc8b1dd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyqtgraph/graphicsItems/ImageItem.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,10 @@ def getPixmap(self) -> QtGui.QPixmap | None:
898898

899899
def pixelSize(self) -> tuple[float, float]:
900900
"""
901-
Returns the scene-size of a single pixel in the image
901+
Returns
902+
-------
903+
float, float
904+
x, and y scene-size of a single pixel in the image
902905
"""
903906
br = self.sceneBoundingRect()
904907
if self.image is None:

0 commit comments

Comments
 (0)