fix matplotlib warning about update_from_data
Merge pull request #21 from davidtrem/fix-matplot-warning

fix matplotlib warning about update_from_data