Status of toolbar/toolmanager changes (not working for me)?

I'm using v1.5.1 with python 2.7.5 and I was reading the discussion on
https://github.com/matplotlib/matplotlib/pull/3652

and trying to reproduce the toolbar manipulation shown at

https://github.com/fariza/pycon2015/blob/master/ToolDemo.ipynb

I can't get it to work from either regular python or ipython
(console), at least not with my WXagg, GTKagg or GTKCairo backends.

In my matplotlibrc I have set toolbar to be toolmanager.

After successfully getting a figure window with fig, ax =
plt.subplots(), I find that fig.canvas.manager.toolbar is None and
there is no toolmanager attribute in the manager.

Did I miss something that has changed, because the pull seemed to
apply to 1.5.1?

Thanks,
Rob

Hi

The main problem is that the new Toolbar has been implemented only for Gtk3
and Tk

Try running the example in examples/user_interfaces/toolmanager.py if it
fails please report it.

Why we haven't finished the job on other backends? We are working on MEP27
that will offer substantial benefits when implementing the changes needed
for ToolManager to work.

Every small change has to be ported to all the backends, we decided it is
more efficient for us, to try to iron all the problems with just two
backends before changing all the others.

If you need any help getting it to run please let me know and I'll do my
best to help you.

Federico

···

On Jun 9, 2016 11:29 PM, "Rob Clewley" <rob.clewley at gmail.com> wrote:

I'm using v1.5.1 with python 2.7.5 and I was reading the discussion on
MEP22: Navigation by events by fariza · Pull Request #3652 · matplotlib/matplotlib · GitHub

and trying to reproduce the toolbar manipulation shown at

https://github.com/fariza/pycon2015/blob/master/ToolDemo.ipynb

I can't get it to work from either regular python or ipython
(console), at least not with my WXagg, GTKagg or GTKCairo backends.

In my matplotlibrc I have set toolbar to be toolmanager.

After successfully getting a figure window with fig, ax =
plt.subplots(), I find that fig.canvas.manager.toolbar is None and
there is no toolmanager attribute in the manager.

Did I miss something that has changed, because the pull seemed to
apply to 1.5.1?

Thanks,
Rob
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel at python.org
Matplotlib-devel Info Page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20160610/393142c8/attachment.html&gt;