Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test python workflow on vscode with jupyter #32

Open
jlperla opened this issue Jun 7, 2018 · 1 comment
Open

Test python workflow on vscode with jupyter #32

jlperla opened this issue Jun 7, 2018 · 1 comment

Comments

@jlperla
Copy link
Contributor

jlperla commented Jun 7, 2018

#%%
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))
plt.show() 

x = np.linspace(0, 40, 100)
plt.plot(x, np.sin(x))
plt.show() 
  • Click on the Run Cell that shows up. It will let you Start a new notebook or Select an Existing Notebook. Choose a new one and it should show the results on the side.
  • Works surprisingly well!
@jlperla
Copy link
Contributor Author

jlperla commented Jun 7, 2018

To tell you the truth, though, the jupyter is not reall y necessary. matplotlib will just open up a figure otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant