Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How to use matplotlib inline with JupyterLab in MacOSX and Anaconda
%matplotlib inline
# 別のセルに↓
import numpy as np
import matplotlib.pyplot as plt
x = np.arange(0, 10, 0.1)
y = np.cos(x)
plt.plot(x, y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment