How do I make matplotlib work in AWS EMR Jupyter notebook?

前端 未结 5 415
情书的邮戳
情书的邮戳 2021-01-01 13:49

This is very close to this question, but I have added a few details specific to my question:

Matplotlib Plotting using AWS-EMR jupyter notebook

I would like

5条回答
  •  执念已碎
    2021-01-01 14:27

    The following should work:

    import matplotlib
    %matplotlib inline
    import matplotlib.pyplot as plt
    plt.plot([1,2,3,4])
    

    Run the entire script in one cell

提交回复
热议问题