[Matplotlib-users] Choosing a Backend

Thomas Caswell tcaswell at gmail.com
Wed Oct 2 19:25:35 EDT 2019


No, the available backends are determined by the packages installed by your
client.  That said, many (but not all) distributions of Python include the
tk bindings so if you want the highest probability of your users having the
backend of choice, go with tkagg.

That said, depending on what you are doing, you may be able to get away
with the GUI agnostic widgets.

Please see
https://matplotlib.org/tutorials/introductory/usage.html#what-is-a-backend for
more information on backends and
https://matplotlib.org/api/widgets_api.html?highlight=widgets#module-matplotlib.widgets
for
more information on the widgets.

Tom

On Tue, Oct 1, 2019 at 9:44 AM Amit Yaron <amit at phpandmore.net> wrote:

> Gi,
>
> When I publish or send a Matplotlib script that uses 'gtk3agg' or
> 'tkagg', can I just be sure that the recipients can use the backend my
> script does?
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users
>


-- 
Thomas Caswell
tcaswell at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20191002/b8ce5515/attachment.html>


More information about the Matplotlib-users mailing list