Deprecate double end-data signal in tests and docs
The image plotting style example taken from gnuplot version 5.4 documentation:
plot ’-’ matrix with image
5 4 3 1 0
2 2 0 0 1
0 0 0 1 0
0 1 2 4 3
e
e
and used for gnuplot-pipe documentation and tests gives a gnuplot error::
; scheme
(gp:call/gnuplot
(gp:plot "matrix with image"
'(5 2 0 0) '(4 2 0 1) '(3 0 0 2) '(1 0 1 4) '(0 1 0 3))
(gp:end-data))
gnuplot> e
^
line 5: invalid command
Indeed, gnuplot version 5.4 seems to only require one end-data signal:
plot ’-’ matrix with image
5 4 3 1 0
2 2 0 0 1
0 0 0 1 0
0 1 2 4 3
e
Consider changing documentation and tests accordingly.
Edited by Francesco Montanari