I have a stacked bar plot of analytics data embedded in my GUI which I would like to be more interactive. When the user hovers or clicks on a bar the plotted value should appear. Can this be done? I haven't been able to find anything about it in the documentation. Alternatively I could use something like PyGal but I don't know how to embed it into PyQt. Advice on either would be appreciated.
The easiest solution is to use matplotlib events. They work the same whether you use a standalone plotting window or embed into a GUI.
A good introduction can be found in the matplotlib manual's event handling page.