I noticed a couple of really minor typos as shown below:
Index: matplotlib/lib/matplotlib/axis.py
···
===================================================================
--- matplotlib/lib/matplotlib/axis.py (revision 5860)
+++ matplotlib/lib/matplotlib/axis.py (working copy)
@@ -147,7 +147,7 @@
"""
self._pad = val
- def get_pad(self, val):
+ def get_pad(self):
'Get the value of the tick label pad in points'
return self._pad
Index: matplotlib/examples/event_handling/lasso_demo.py
--- matplotlib/examples/event_handling/lasso_demo.py (revision 5860)
+++ matplotlib/examples/event_handling/lasso_demo.py (working copy)
@@ -69,7 +69,7 @@
# acquire a lock on the widget drawing
self.canvas.widgetlock(self.lasso)
-if 0:
+if __name__ == '__main__':
data = [Datum(*xy) for xy in rand(100, 2)]