PyLab is a procedural interface to the Matplotlib object-oriented plotting library. ... PyLab is a convenience module that bulk imports matplotlib. pyplot (for plotting) and NumPy (for Mathematics and working with arrays) in a single name space.