Chapter 8. More on matplotlib Gems

In this chapter, we will cover:

  • Drawing barbs
  • Making a box-and-whisker plot
  • Making Gantt charts
  • Making error bars
  • Making use of text and font properties
  • Rendering text with LaTeX
  • Understanding the difference between pyplot and OO API

Introduction

In this chapter, we will explore some less frequently used features of the matplotlib package. Some of these examples stretch the matplotlib original target, but they show what can be done with a little creativity, and prove that matplolib is full featured and generically oriented.

Get Python Data Visualization Cookbook - Second Edition 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.