Last active
December 23, 2019 07:24
-
-
Save heiwa4126/fd98b18d80111c169261d88b1ec1c4d0 to your computer and use it in GitHub Desktop.
Jupyter notebookの動作確認用でsin波を書くやつ。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%matplotlib inline | |
import numpy as np | |
import matplotlib.pyplot as plt | |
x = np.linspace(-10, 10, 1000) | |
y = np.sin(x) | |
plt.plot(x, y) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
手順(2019-12頃)
pip3 install -U --user pip
pip3 install -U --user jupyter numpy matplotlib
jupyter notebook
で起動。http://localhost:8888/?token=xxxx
にブラウザで接続。あとはUIでいろいろ