Merge pull request #18 from tacaswell/dm_pims_fix

BUG : fix really stupid bug
ENH: Updated pipeline demo layout
BUG: Legend not drawing :(
moved call to legend() before call to draw()
BUG : give lines names