Skip to content

Commit

Permalink
Fix argument name in color scheme sample code
Browse files Browse the repository at this point in the history
The sample uses `#:label`, which seem to have been replaced by `#:title`.
  • Loading branch information
muscar authored and rfindler committed Oct 22, 2023
1 parent 5a8c93a commit a4f3070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui-lib/framework/private/color-prefs.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@
(string-append
"#lang racket ; draw a graph of\n"
"(require plot) ; cos and log\n"
"(plot #:label \"y = cos(x) & y = log(x)\"\n"
"(plot #:title \"y = cos(x) & y = log(x)\"\n"
" (list (function cos -5 5) (function log -5 5)))\n"
"\"an unclosed string is an error"))

Expand Down

0 comments on commit a4f3070

Please sign in to comment.