What is the difference between pyplot and pylab in Matplotlib?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how the pyplot and pylab modules in Matplotlib differ and which one to use in Python data science code. Tests your understanding of namespaces, star imports, name collisions with Python built-ins, and how the state-based plotting interface relates to the Axes API.