Re: Plotting in WxPython
Dietmar Schwertberger <[email protected]> Mon, 22 Aug 2022 17:37:45 +0200
| Newsgroups | gmane.comp.python.wxglade |
|---|---|
| Message-ID | <[email protected]> |
On 22.08.2022 16:48, Tanmay Agrawal wrote: > I am using the FigureCanvasAgg instead of FigureCanvas*Wx*Agg. Other > than that everything is same. Do you think that can be the reason for > the problem? Actually I don't have the hardware with me, so can't test > it right now. Using FigureCanvasAgg could end up in matplotlib picking the wrong backend. Better explicitely use the WxAgg version. With such problems you can always use a debugger and set a breakpoint. Then step through and see which backend is being called and which signatures are supported. > Also, the plots are dynamic in nature. *FuncAnimation *is used for > that purpose right now in my plots file (the file which is computing > plots). > Do I need to make any special changes for that? No idea. I have never used FuncAnimation. Regards, Dietmar _______________________________________________ wxGlade-general mailing list wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/wxglade-general