More pythonic
Configuration from file
Draw a bar