Annotation Toolbar

Dear all,

I am working on a custom toolbar with annotation tools (such as arrows, text etc.) which would be a replacement or addition to the standard navigation toolbar usually available at the bottom of the figure window.

So far in order to add the toolbar I use the example embedding_in_gtk2.py. Unfortunately this works only with gtk backends. Is there a way to add the toolbar to the window in a backend-independent way? For example, the following syntax would be very convenient:

fig = figure()
tbar = NavigationToolbar()
fig.add_toolbar(tbar)

With such an API one could define on the runtime which toolbar should be avialable. Adding multiple toolbar would be also possible.

Yours,

Bartosz

Bartosz Telenczuk

Institute for Theoretical Biology
Humboldt University of Berlin
Germany
http://neuroscience.telenczuk.pl