assertion error with xkcd

Benjamin Root wrote:

Can you provide a code example to reproduce this. I suspect that recent
work on path effects might be to blame here. Also, exactly which version of
matplotlib and numpy were you using? The assert was placed there about a
year ago IIRC to deal with a short-lived numpy bug.

The code is large and reads a bunch of data to plot.

The line that triggers the error says:

    self.pdf.savefig (self.fig)

Would it be useful to provide a pickled fig (umm, pickled figs)

No, we really need a self-contained example that triggers it. We already have a self-contained example that works (multipage_pdf.py in the examples)... So there's something extra that's happening in your context. Maybe start with multipage_pdf.py and add things from your own app until it breaks?

Mike

···

On 10/23/2013 09:51 AM, Neal Becker wrote:

Benjamin Root wrote:

Can you provide a code example to reproduce this. I suspect that recent
work on path effects might be to blame here. Also, exactly which version of
matplotlib and numpy were you using? The assert was placed there about a
year ago IIRC to deal with a short-lived numpy bug.

The code is large and reads a bunch of data to plot.

The line that triggers the error says:

     self.pdf.savefig (self.fig)

Would it be useful to provide a pickled fig (umm, pickled figs)

--
                    _

\/|o _|_ _. _ | | \.__ __|__|_|_ _ _ ._ _
>>(_| |(_|(/_| |_/|(_)(/_|_ |_|_)(_)(_)| | |