[Matplotlib-users] Matplotlib and pycairo

2011-02-05 Thread Charles Roduit
Dear all, I want to generate a pdf with some text and graphics. Since I use matplotlib to make plot through the graphical user interface, I want to embed these graphs directly into a cairo (or pangocairo) instance. But I cannot manage. I send a small example. If you can help me import

[Matplotlib-users] move annotation

2010-01-06 Thread charles . roduit
Dear all, I have a little problem on understanding how to move an annotation on a plot. My idea is to make a plot where some informations follow the cursor when moving on the data, like you can see in plots from piwik ( http://piwik.org/demo ) In the script in attachment, I can follow