jzaremba / guiqwt

Automatically exported from code.google.com/p/guiqwt
Other
0 stars 1 forks source link

Curve plot not shown because underlying data was deleted #46

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
    plot(make.curve(np.arange(10), np.arange(10))) works
2.
    y,x = np.histogram(areas)
    plot(make.curve(x[:-1],y))
crashes with the error: "underlying c/c++ object has been deleted"

I'm on guiqwt 2.2.1 (latest release), cvs won't compile for me, different bug 
report

Original issue reported on code.google.com by caffeine...@gmail.com on 18 Mar 2013 at 5:55

GoogleCodeExporter commented 9 years ago
plot(...) should be plot.add_item(...), it's late, sorry.

Original comment by caffeine...@gmail.com on 18 Mar 2013 at 6:17