In [1] 번 같은 에러가 떴다면 그냥 옆에있는 주석을 삭제하면 된다.
그럼 In [2] 처럼 문제없이 실행되는 것을 볼 수 있다.
참고자료
https://stackoverflow.com/questions/27761707/cannot-plot-inline-with-ipython-notebook
Cannot plot inline with ipython notebook
I'm playing with ipython notebook and I got a problem. This code %matplotlib inlinehelped me to plot inline with the code below. %matplotlib inline ax1= plt.subplot(2,1,1) ax1.plot(df.Close,la...
stackoverflow.com
이곳을 보면 자세한 설명이 있으니 참고하길 바란다.
'matplotlib&seaborn' 카테고리의 다른 글
하나의 차트영역에 여러개의 차트를 그려보자! Subflots (0) | 2021.11.30 |
---|---|
matplotlib 으로 histogram을 그려보자! (0) | 2021.11.30 |
matplotlib.pyplot.pie : pie차트, 퍼센트를 차트로 원형차트를 그려보자! (0) | 2021.11.28 |
matplotlib.pyplot.countplot : Categorical Data의 값(values)의 개수를 카운트해서 그래프로! (0) | 2021.11.28 |
matplotlib.pyplot 가장 기본적인 plot : line chart, line plot (0) | 2021.11.28 |