Pylab is a module in the Matplotlib library that acts as a procedural interface to the Matplotlib. Matplotlib is an object-oriented plotting library. It combines the Matplotlib with the NumPy module for graphical plotting. This is not a separate module but is embedded inside Matplotlib to provide matplotlib like experience for the user.