polar_demo.py broken

The polar demo in examples/polar_demo.py no longer displays the spiral
and axes. It worked a couple of weeks ago when I was testing the contains()
method.

I downloaded a fresh build of matplotlib pulled from svn today. Tested on
python 2.5 OS X. Should be on the wxAgg backend, though I don't know how
to confirm that.

  - Paul

That seems to have to do with the line culling agg patch I sent. I never
thought to check with polar plots. I'll look into it.

Allan

···

On Thu, July 19, 2007 12:17 pm, Paul Kienzle wrote:

The polar demo in examples/polar_demo.py no longer displays the spiral
and axes. It worked a couple of weeks ago when I was testing the
contains() method.

I downloaded a fresh build of matplotlib pulled from svn today. Tested
on python 2.5 OS X. Should be on the wxAgg backend, though I don't know
how to confirm that.

- Paul

Somehow I accidentally deleted a line in a part I thought I hadn't touched.

It's a two line change, so I'll just tell you what to change:

Find the line:
set_clipbox_rasterizer(gc.cliprect);

in src/_backend_agg.cpp in the draw_lines function. (around line 1500)

Right after it, add the following two lines:
//path_t transpath(path, xytrans);
_process_alpha_mask(gc);

I don't know how that happened....

Allan

···

On Thu, July 19, 2007 3:33 pm, ahalda@...534... wrote:

That seems to have to do with the line culling agg patch I sent. I never
thought to check with polar plots. I'll look into it.

Allan

On Thu, July 19, 2007 12:17 pm, Paul Kienzle wrote:

The polar demo in examples/polar_demo.py no longer displays the spiral
and axes. It worked a couple of weeks ago when I was testing the
contains() method.

I downloaded a fresh build of matplotlib pulled from svn today. Tested
on python 2.5 OS X. Should be on the wxAgg backend, though I don't
know how to confirm that.

- Paul

It's done, svn 3579. Thank you Allan.

Darren

···

On Thursday 19 July 2007 04:05:11 pm ahalda@...534... wrote:

Somehow I accidentally deleted a line in a part I thought I hadn't touched.

It's a two line change, so I'll just tell you what to change:

Find the line:
set_clipbox_rasterizer(gc.cliprect);

in src/_backend_agg.cpp in the draw_lines function. (around line 1500)

Right after it, add the following two lines:
//path_t transpath(path, xytrans);
_process_alpha_mask(gc);