Is this the place where "different lines need different matplotlib calls"-magic happens? If so, please add such information as a comment why this loop is necessary.