Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8185987

Browse files
committed
Merge pull request #9505 from nvdv/patch-1
Add units to height and width in Image docstring.
2 parents 8247911 + 7b89b5a commit 8185987

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

IPython/core/display.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -678,9 +678,9 @@ def __init__(self, data=None, url=None, filename=None, format=None,
678678
679679
Note that QtConsole is not able to display images if `embed` is set to `False`
680680
width : int
681-
Width to which to constrain the image in html
681+
Width in pixels to which to constrain the image in html
682682
height : int
683-
Height to which to constrain the image in html
683+
Height in pixels to which to constrain the image in html
684684
retina : bool
685685
Automatically set the width and height to half of the measured
686686
width and height.

0 commit comments

Comments
 (0)