vscodeJupyter
vscodeJupyter copied to clipboard
IPython Display of Inline Images is not Affected by Size-Related Properties
Environment data
VS Code version: 1.12.2 Jupyter Extension version: 1.1.3 OS and version: Windows 10 Pro 64-bit
Actual behavior
Image displayed in the "Results" area of VSCode is unaffected by the width, height, or retina properties of the image object.
Expected behavior
Size of rendered image would be affected by these properties. Please note that I'm just getting started with Jupyter, so it is very possible that my expectations are flawed.
Steps to reproduce:
from IPython.display import Image, display
im = Image(filename = "myImage.jpg", width=200)
print(im)
print(im.width)
display(im)