Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cosine-schemes incomplete (wrt. documentation) #4

Closed
cassiel opened this issue Jun 27, 2016 · 3 comments
Closed

cosine-schemes incomplete (wrt. documentation) #4

cassiel opened this issue Jun 27, 2016 · 3 comments

Comments

@cassiel
Copy link

cassiel commented Jun 27, 2016

screenshot 2016-06-27 12 52 24

@postspectacular
Copy link
Member

Thanks, @cassiel! Just remove apply from that call to cosine-gradient. The cosine-schemes is just an hashmap, no probs w/ that...

@cassiel
Copy link
Author

cassiel commented Jun 28, 2016

It looked to me that the problem was that some of the documented colour schemes are there, others are not.
screenshot 2016-06-28 11 39 13

@postspectacular
Copy link
Member

Ah, that's probably then a version issue, you're probably not using 1.2.0 (guessing you're using an older version of geom, which pulls in older version of color).

(require 'thi.ng.color.version)
thi.ng.color.version/version
;; "1.2.0"
(keys grad/cosine-schemes)
;; (:rainbow1 :green-red :yellow-green-blue :cyan-magenta :orange-blue :blue-magenta-orange :rainbow2 :blue-white-red :yellow-red :rainbow4 :orange-magenta-blue :yellow-magenta-cyan :green-blue-orange :red-blue :green-cyan :yellow-purple-magenta :rainbow3 :blue-cyan :green-magenta :magenta-green)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants