How to make IPython notebook matplotlib plot inline

后端 未结 10 2174
轮回少年
轮回少年 2020-11-22 14:37

I am trying to use IPython notebook on MacOS X with Python 2.7.2 and IPython 1.1.0.

I cannot get matplotlib graphics to show up inline.

import matplo         


        
10条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-22 15:14

    I did the anaconda install but matplotlib is not plotting

    It starts plotting when i did this

    import matplotlib
    import numpy as np
    import matplotlib.pyplot as plt
    %matplotlib inline  
    

提交回复
热议问题