Matplotlib hangs due to


I've had a very odd observation today: I call matplotlib 1.3.1 from
Django 1.7 code running on Apache under Ubuntu 14.04. The relevant
code is:

    figure = Figure(frameon=False, figsize=(4, 3))
    canvas = FigureCanvasAgg(figure)
    axes = figure.add_subplot(111)

The last command hangs.

Funny enough, if I run the very same code on Django's testserver, it

First, I thought of but
this is not the case here. I've really assured that "Agg" is used,
also by providing a proper config file.

The oddest part is, if I replace in matplotlib/, line 136,

        return ma.power(10.0, a) / 10.0


        return np.power(10.0, a) / 10.0

it works!

Can anybody explain this?



Torsten Bronger Jabber ID: torsten.bronger@...2202...