Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Interactive Applications using Matplotlib
  • Table Of Contents Toc
  • Feedback & Rating feedback
Interactive Applications using Matplotlib

Interactive Applications using Matplotlib

3.3 (6)
close
close
Interactive Applications using Matplotlib

Interactive Applications using Matplotlib

3.3 (6)

Overview of this book

This book is intended for Python programmers who want to do more than just see their data. Experience with GUI toolkits is not required, so this book can be an excellent complement to other GUI programming resources.
Table of Contents (7 chapters)
close
close

Bars, menus, and sliders – four ways


Perhaps the best way to really understand the roles of these objects is through examples. Let us look at two simple tasks for modifying our storm cell application: add a menu bar and replace the Matplotlib slider widget with a similar native widget. We will do this same thing using four different GUI toolkits: GTK, Tkinter/Tcl, wxWidgets, and Qt.

A word of warning before we proceed: I am, by no means, an expert in any of these GUI toolkits. Describing me as a novice would be a stretch as well. The following examples are not intended to illustrate best practices in using the toolkits. Instead, they are intended to help inspire the readers to see the possibilities and to help get one over some of the initial hurdles that one may encounter.

Another quick note regarding our storm track application. The Tracks, RadarDisplay, and Stormcells classes have been moved out of the application into submodules; we will no longer be needing to modify these classes any...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
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

Delete Note

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

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY