minor fixes to analog_bars.py example