[Matplotlib-users] Choosing a Backend

Amit Yaron amit at phpandmore.net
Thu Oct 3 09:18:46 EDT 2019


Thanks a lot for your answer.

On 3.10.2019 0:25, Thomas Caswell wrote:
> 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 
> <mailto: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
>     <mailto:Matplotlib-users at python.org>
>     https://mail.python.org/mailman/listinfo/matplotlib-users
> 
> 
> 
> -- 
> Thomas Caswell
> tcaswell at gmail.com <mailto:tcaswell at gmail.com>
> 
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users
> 




More information about the Matplotlib-users mailing list