Re: Possible enhancement to the wxPython Demos

Matt Newville <[email protected]> Tue, 1 Dec 2020 16:57:53 -0600
Newsgroups gmane.comp.python.wxpython
Message-ID <CA+7ESbpuQ+QP75PBwLWD+MPJJgc2LEHfOhOmn0ioNbg720Bjeg@mail.gmail.com>
Hi Steve,


On Tue, Dec 1, 2020 at 12: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?
>
>

Yes, please do!

You might find some of the code and examples over at
https://newville.github.io/wxmplot helpful, either as "useful high-level
plotting frames and panels" or as examples of approaches to adding more
interactive functionality to certain kinds of plots.

Cheers,

--Matt

-- 
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/CA%2B7ESbpuQ%2BQP75PBwLWD%2BMPJJgc2LEHfOhOmn0ioNbg720Bjeg%40mail.gmail.com.
image001.png (image/png, 137.4 KB) - not displayed