O'Reilly logo

Matplotlib for Python Developers by Sandro Tosi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Embedding Matplotlib in GTK+

We have seen a lot of examples so far, and we are now pretty productive with Matplotlib and the IPython interpreter.

While this is very handy for interactive plotting, experimenting with datasets, trying different visualization of the same data, and so on, there will be cases where we want an application to acquire, parse, and then, display our data.

In this chapter, we will present some examples of how to embed Matplotlib in applications (quite simple ones) that use GTK+ as the graphical interface library. While doing this, we will show how using the Matplotlib API to program these examples is the best way to achieve this goal.

We will see the following in detail:

  • How to embed a Matplotlib Figure into a GTK+ ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required