From: Benny M. <ben...@gm...> - 2010-05-18 07:17:49
|
2010/5/18 Michael Haggerty <mh...@al...> > Sandy Ydnas wrote: > > I am staring now to use Gnuplot under Python, since Matplotlib has > > problem - it gets stuck during debugging after show(). > > > > pls help understand is Gnuplot debugging friendly, it means is it > > possible to continue to Debug when figure is created?? > > I personally don't use pdb, but I don't know of any reason why it should > be difficult to debug code that uses Gnuplot.py. The only thing that > occurs to me is that the use of FIFOs to communicate data to gnuplot > currently requires the use of additional threads that write the data to > the FIFO, and debugging multithreaded code might be tricky. But the use > of FIFOs is optional; you could configure Gnuplot.py to use temporary > files or inline data instead. > > Please tell us what you find out! > Use g = Gnuplot.Gnuplot(persist=0) The persist=0 should allow you to easily jump over the code that does the figure. Benny > Michael > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gnuplot-py-users mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users > |