<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">🎉🎉🎉
<div><br /></div>
<div>Thank you! Will try it out shortly.</div>
</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
On 28 Apr 2018, 10:47 AM +1000, Thomas Caswell <tcaswell@gmail.com>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<div dir="ltr">Juan,
<div><br /></div>
<div>Support for the toolmanager shipped in Matplotlib 2.2!  Hopefully this will work now.</div>
<div><br /></div>
<div>Tom</div>
</div>
<br />
<div class="gmail_quote">
<div dir="ltr">On Wed, Nov 15, 2017 at 7:20 PM Juan Nunez-Iglesias <<a href="mailto:jni.soma@gmail.com">jni.soma@gmail.com</a>> wrote:<br /></div>
<blockquote class="gmail_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">
<div>
<div name="messageBodySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">If anyone can find time to respond to this, I promise a PR to the docs explaining the solution…!</div>
<div name="messageReplySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif"><br />
On 13 Nov 2017, 6:09 PM +1100, Juan Nunez-Iglesias <<a href="mailto:jni.soma@gmail.com" target="_blank">jni.soma@gmail.com</a>>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #3498db;">
<div name="messageBodySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">Hi,
<div><br /></div>
<div>I’m trying to add elements to the matplotlib toolbar *using the Qt5 backend*. I tried running this example code:</div>
<div><br /></div>
<div><a href="https://matplotlib.org/examples/user_interfaces/toolmanager.html" target="_blank">https://matplotlib.org/examples/user_interfaces/toolmanager.html</a><br /></div>
<div><br /></div>
<div>But unfortunately it fails when using Qt5 with the error </div>
<div><br /></div>
<div>
<div>    fig.canvas.manager.toolmanager.add_tool('List', ListTools)</div>
<div>AttributeError: 'FigureManagerQT' object has no attribute â€˜toolmanager'</div>
</div>
<div><br /></div>
<div>Is toolmanager only available for GTK? Is there an equivalent way of achieving what the script is doing in other backends?</div>
<div><br /></div>
<div>Thanks,</div>
<div><br /></div>
<div>Juan.</div>
</div>
<div name="messageReplySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif"><br />
<div></div>
</div>
</blockquote>
<div></div>
</div>
</div>
_______________________________________________<br />
Matplotlib-users mailing list<br />
<a href="mailto:Matplotlib-users@python.org" target="_blank">Matplotlib-users@python.org</a><br />
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-users</a><br /></blockquote>
</div>
</blockquote>
<div></div>
</div>
</body>
</html>