looks like a simple type error
svn: r15075
This commit is contained in:
parent
5c53bd9373
commit
016a0d52ec
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user