vscodeJupyter icon indicating copy to clipboard operation
vscodeJupyter copied to clipboard

bug: Standard plot doesn't work

Open taoluo opened this issue 7 years ago • 0 comments

Environment data

VS Code version: 1.18.1 Jupyter Extension version: 1.1.4 OS and version: mac osx

Actual behavior

result pane shows the following

[<matplotlib.lines.Line2D at 0x1194f05f8>]
Unknown Mime Type

Expected behavior

inline plot from matplotlib

Steps to reproduce:

#%%
import matplotlib.pyplot as plt
import matplotlib as mpl
import numpy as np

x = np.linspace(0, 20, 100)
plt.plot(x, np.sin(x))```

taoluo avatar Dec 02 '17 04:12 taoluo