matplotlib/matplotlib — pull request #1152 by ChrisBeaumont (2012-08-27 21:21:11+00:00)
Title: checkable pan/zoom buttons for QT NavigationToolbar

This small tweak makes the pan and zoom toolbar buttons "checkable" within the QT backend. This adds some shading around the active navigation mode button, which I find to be a bit clearer than the status bar message.

The check states are re-synchronized at each call to NavigationToolbar2QT.pan and NavigationToolbar2QT.zoom.