# Matplotlib curve is out of axes boundaries

I am using matplotlib to plot some figures. But after update from sage 4.8 to sage 5.2, I get some "tails" out of axes boundaries. How to turn it off?

Thanks!

Can you post the code for the plot so that I can reproduce this kind of behavior.