Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Mastering Matplotlib
  • Toc
  • feedback
Mastering Matplotlib

Mastering Matplotlib

By : Duncan M. McGreggor, Duncan M McGreggor
3.5 (8)
close
Mastering Matplotlib

Mastering Matplotlib

3.5 (8)
By: Duncan M. McGreggor, Duncan M McGreggor

Overview of this book

If you are a scientist, programmer, software engineer, or student who has working knowledge of matplotlib and now want to extend your usage of matplotlib to plot complex graphs and charts and handle large datasets, then this book is for you.
Table of Contents (11 chapters)
close
10
Index

The procedural pylab API

The pylab API is a procedural interface to matplotlib's underlying object-oriented Python API. As mentioned in the previous chapter and stated in the matplotlib FAQ, the pylab module has been deprecated. The pyplot module is the preferred API for scripting. The original vision of pylab—to provide MATLAB users a nearly one-to-one mapping of the software they knew with that of an open source platform—has been accomplished. In the 12 years since its inception, matplotlib has become a household name in scientific computing circles, and as a result the need for pylab has decreased greatly.

The drawbacks of pylab include the following:

  • It hides the workings (and thus, the deeper knowledge) of matplotlib, thus preventing the natural discovery of deeper feature sets that are available to the user through matplotlib objects.
  • The additional development and maintenance of pylab are a burden for the matplotlib team in its continued efforts to provide the MATLAB...
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete