Hi,

I'm plotting some graphs with matplotlib and I would like to do the following:

Draw lines on the graph (match two points to show the up-trend or

down-trend line of a stock). I would want the lines drawn by me on the

graph resize accordingly as one zooms in or out of the graph.

Can anyone kindly point me to the API's or examples on how to do this?

I have tried looking but couldn't get it working.

Thanks,

Hitesh