matplotlib interactive plot to match data