Re: problems of gnuplot 5.4 when pipng commands from python

Ethan A Merritt <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.devel
Organization University of Washington
Message-ID <13656055.yF30x5Zz0l@stonelion>
You are operating on Windows 10?
I had hoped you would get a response from someone more familiar with
Windows than I am, but it seems rather quiet here lately.

My understanding is that this is a known problem when combining specifically
gnuplot version 5.4 and Windows version 10.

Issue tracker here
   https://sourceforge.net/p/gnuplot/bugs/2412/

There is a suggestion there that reverting commit 651af626
may fix the problem, or at least return it to the same behavior
as gnuplot 5.2.   If you are able to build gnuplot from the
git source and confirm that reverting that commit works, that
would be very useful information.

    best,

	Ethan


On Thursday, 17 June 2021 02:48:15 PDT [email protected] wrote:
> Dear developers of gnuplot,First I want to thank you very much for developing such powerful tool.
> I use gnuplot 5.4 in my own python program to check the results of some searching process.
> the related code is like follows:
> from subprocess import *  gnuplot= Popen(r"C:/Progra~1/gnuplot/bin/wgnuplot_pipes.exe", stdin = PIPE, stderr=PIPE,stdout=PIPE)  gnuplot.stdin.write(b"set terminal windows \n")  gnuplot.stdin.write(b"plot(sin(x)) \n")  gnuplot.stdin.flush()
> input('Press the Return key to quit: ')  #pause gnuplot.stdin.close()  
> In the above code, after Popen, the main gnuplot window is successfully launched.However, there is no any response for the next instructions, and nothing has happened.My Python version is 3.8.5
> So how to solve the problem ?
> Best regards,Wendong 
> 





_______________________________________________
gnuplot-beta mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.