Pyplot is a collection of methods with Matplotlib library which allows the user to construct 2D plots easily and interactively.