I am trying to use pyplot and draw a cos function, but I don\'t know why "No handles with labels found to put in legend." message keep comes out.