Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Interactive Applications using Matplotlib

You're reading from  Interactive Applications using Matplotlib

Product type Book
Published in Mar 2015
Publisher
ISBN-13 9781783988846
Pages 174 pages
Edition 1st Edition
Languages

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}