matplotlib集成
2018-12-04 本文已影响1人
庵下桃花仙
Jupyter中使用%matplotlib inline
设置matplotlib与Jupyter notebook集成。
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
plt.plot(np.random.randn(50).cumsum())
