Confusion between numpy, scipy, matplotlib and pylab

前端 未结 3 1840
执念已碎
执念已碎 2020-12-22 15:34

Numpy, scipy, matplotlib, and pylab are common terms among they who use python for scientific computation.

I just learn a bit about pylab, and I got confused. Whenev

3条回答
  •  时光说笑
    2020-12-22 16:04

    Scipy and numpy are scientific projects whose aim is to bring efficient and fast numeric computing to python.

    Matplotlib is the name of the python plotting library.

    Pyplot is an interactive api for matplotlib, mostly for use in notebooks like jupyter. You generally use it like this: import matplotlib.pyplot as plt.

    Pylab is the same thing as pyplot, but with extra features (its use is currently discouraged).

    • pylab = pyplot + numpy

    See more information here: Matplotlib, Pylab, Pyplot, etc: What's the difference between these and when to use each?

提交回复
热议问题