looks like a simple type error

svn: r15075
This commit is contained in:
John Clements 2009-06-04 05:36:51 +00:00
parent 5c53bd9373
commit 016a0d52ec

View File

@ -111,7 +111,7 @@
;set-line-color : symbol -> nothing
(define (set-line-color color)
(let ((index (cond [(assq color colors ) => cadr]
[else (error (string-append "color \"" color "\" not found"))])))
[else (error (format "color ~v not found" color))])))
(pl-select-colormap0-index index)))
; start the plot