Re: Possible enhancement to the wxPython Demos

Andrea Gavana <[email protected]> Tue, 1 Dec 2020 18:01:40 +0100
Newsgroups gmane.comp.python.wxpython
Message-ID <CAEf70bwHhyBAh4M-Wn1QZQCtRw+E_QpYS+0up-k4JOwoFoboGg@mail.gmail.com>
On Tue, 1 Dec 2020 at 17.34, Nick Adams <[email protected]> wrote:

> Absolutely yes this is so awesome
>
> On Tue, Dec 1, 2020 at 1:24 AM Steve Barnes <[email protected]>
> wrote:
>
>> Hi All,
>>
>>
>>
>> It occurred to me that, much as I love the Demos *they really are great*
>> there is one area where they are not ideal for many people - that is
>> plotting & graphing. The existing demos demonstrates nicely the use of the
>> wx pyplot package *but* this is not mainstream for many people who use
>> plotting. The "default" plotting package for many is MatPlotLib and it
>> turns out that with a couple of wrinkles MatPlotLib works fine with
>> wxpython.
>>
>>
>>
>> So I thought that it would be nice to put some demos (lifted from the
>> MatPlotLib examples) into the wxDemos package as personally that is always
>> where I point any fledgling python GUI developers.
>>
>>
>>
>> Anyway, I have put together a start of such a set of demos but it is not
>> ready for a PR yet but I think enough for a proof of concept and to ask for
>> feedback here. The code so far is available at
>> https://github.com/GadgetSteve/Phoenix/blob/master/demo/MatPlotLib/mpl_demo.py
>> and at the moment is a standalone (i.e. not integrated into the demo). I am
>> thinking to treat it as an external package and have a basics item with the
>> core to using the wx backend and some other demos as well.
>>
>>
>>
>> Should I carry on?
>>
>
I would say yes, by all means. As far as I can see, packages like numpy and
Matplotlib are pretty much the norm in many people’s site-packages
installation. The demo itself does not add any dependency, and there’s
quite a few questions out in the web from people stuck in integrating GUI
and plotting stuff. This can only help.

Andrea.




>>
>> Steve Barnes
>>
>>
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "wxPython-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/wxpython-users/VI1PR03MB44791DBCFEC167CA0C239B349BF40%40VI1PR03MB4479.eurprd03.prod.outlook.com
>> <https://groups.google.com/d/msgid/wxpython-users/VI1PR03MB44791DBCFEC167CA0C239B349BF40%40VI1PR03MB4479.eurprd03.prod.outlook.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "wxPython-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/wxpython-users/CAFGC78kRgH_f2%3DDTuEKE_suKPtV5GeA5vcfG4YcWHJBsHYqR6w%40mail.gmail.com
> <https://groups.google.com/d/msgid/wxpython-users/CAFGC78kRgH_f2%3DDTuEKE_suKPtV5GeA5vcfG4YcWHJBsHYqR6w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/CAEf70bwHhyBAh4M-Wn1QZQCtRw%2BE_QpYS%2B0up-k4JOwoFoboGg%40mail.gmail.com.
image001.png (image/png, 137.4 KB) - not displayed