Chapter 3. matplotlib APIs and Integrations

In the previous chapter, we examined the architecture of matplotlib by using the library itself to visualize some aspects of the structure of module imports, particularly the ones related to the scripting, artist, and backend layers of the matplotlib architecture. In this chapter, we are going to examine the developer interfaces against the backdrop of this architectural discussion.

The matplotlib module comes with what are essentially three different application programming interfaces:

  • The pylab interface, a MATLAB analog (deprecated)
  • The pyplot interface, which is synonymous with the scripting layer from the last chapter
  • The matplotlib object-oriented interface

We will define these and talk more about them ...

Get Mastering matplotlib now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.