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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.