|
From: Andrew S. <and...@ad...> - 2003-02-04 14:08:05
|
It sounds good... However, I just did a CVS checkout, build, and
install and got the following:
>>> import Gnuplot
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
"/Library/Frameworks/Python.framework/Versions/2.2/lib/python2.2/site-
packages/Gnuplot/__init__.py", line 177, in ?
from PlotItems import PlotItem, Func, File, Data, GridData
File
"/Library/Frameworks/Python.framework/Versions/2.2/lib/python2.2/site-
packages/Gnuplot/PlotItems.py", line 374, in ?
if gp.GnuplotOpts.support_fifo:
AttributeError: class GnuplotOpts has no attribute 'support_fifo'
(I'll dig farther, but this is what I got to tonight.)
Cheers!
Andrew
On Tuesday, February 4, 2003, at 03:09 AM, Michael Haggerty wrote:
> Andrew,
>
> Andrew Straw <and...@ad...> wrote:
>> First of all, a big thanks for contributing Gnuplot.py! I use it
>> all the time, as I'm sure countless others do.
>
> Thanks for the kind words.
>
>> Now a question -- is there a way to pipe data through a
>> Gnuplot.PlotItems.TempArrayFile by default? I ask because on my
>> machine (Mac OS X 10.2.3 with gnuplot 3.8h0), the 'set mouse' on the
>> x11 terminal only works when the data is available in such a file.
>>
>> I vaguely seem to recall another version of Gnuplot (I'm using 1.6)
>> did
>> this. (I remember lots of /tmp/@1234132.1 files.) I did find in the
>> gp_macosx.py file a "prefer_inline_data" variable, which I have set to
>> 1, to no avail.
>
> That's funny; I thought that in version 1.6 temporary files were still
> the default for Mac OS X.
>
> In any case, in the current CVS version, FIFOs are used by default to
> send data to gnuplot on platforms that support them, including Mac OS
> X. In the CVS version, if you set the following options in
> gp_macos.py, then you should get temporary files by default:
>
> prefer_inline_data = 0
> prefer_fifo_data = 1
>
> You can obtain the CVS version from sourceforge; instructions are
> available one or two clicks from the Gnuplot.py project page,
>
> http://sourceforge.net/projects/gnuplot-py/
>
> Also from the sourceforge project page you can find instructions how
> to join our mailing list, which is a good place to submit such
> questions and discussion. (I have forwarded a copy of this email to
> the mailing list.)
>
> Michael
>
> --
> Michael Haggerty
> hag...@jp...
>
|