Matplotlib-devel Digest, Vol 29, Issue 19

Hope nobody minds if I jump into this discussion:

Date: Mon, 20 Oct 2008 07:55:06 -0500
From: "John Hunter" <jdh2358@...149...>

[...] could you tell us why you prefer or require backend wx over wxagg?

I tend to use matplotlib over an X connection, because the data I'm
working with is on a Linux system whereas the machine I sit in front of
is a Windows system. I therefore run python on the Linux machine, using
my Windows machine just as an X server. I use the WX backend rather
than WXAgg because WX is much more responsive for interactive use, e.g.,
zooming/panning. I'm willing to give up the much better-looking WXAgg
output to gain responsiveness. For final output, I tend to save as EPS
anyway.

Don't know whether this is a widespread use case, but thought I'd
mention it in case.

[Apologies if this message doesn't get threaded properly; I'm replying
to the digest.]

Ben North wrote:

I tend to use matplotlib over an X connection,

well, I think that is THE reason to choose wx over wxAgg (or GTK over GTKAgg). However, I thought the newer versions of the wx back-end double buffered, and thus pretty much eliminated the advantage anyway.

Also note that last I looked into it, wxAgg was doing some extra unneeded blitting of the image to the screen, which makes little noticeable difference usually. but you might really feel that over an remote X connection.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Yep, we know this reason. Lee stated he was on a windows box, which
doesn't rule out X11 forwarding but makes it less likely, so I was
wondering if there was another reason.

I went ahead and applied the patch so those of you using native
backend wx can test his image support enhancements.

JDH

···

On Mon, Oct 20, 2008 at 12:12 PM, Christopher Barker <Chris.Barker@...236...> wrote:

Ben North wrote:

I tend to use matplotlib over an X connection,