Coder Social home page Coder Social logo

chroma's People

Contributors

flrd avatar jiho avatar lirogers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chroma's Issues

TypeError: Object ... has no method 'includes

Hi

You might already know it, but just in case: I tried the dev version, and now face some errors...

Thanks!!

devtools::install_github("jiho/chroma")
#> Skipping install of 'chroma' from a github remote, the SHA1 (c24168e5) has not changed since last install.
#>   Use `force = TRUE` to force installation
library("chroma")
#> 
#> Attaching package: 'chroma'
#> The following objects are masked from 'package:grDevices':
#> 
#>     hcl, hsv, rgb
show_col(interp_colors(6, colors=c("#002855", "#DAAA00")))
#> Error in context_eval(join(src), private$context): TypeError: Object 3,4,6,7,8,9 has no method 'includes'

Created on 2019-07-25 by the reprex package (v0.3.0)

equivalent of .correctLightness() in chroma?

Hi

Thanks for this nice package! I was looking at the post on chroma.js(), where they talk a lot about the lighntess correction, showing for example this piece of code:

chroma.scale(['white', 'yellow', 'red', 'black'])
   .correctLightness();

Is this function also available in the R package?

Thanks!

Consider adding LaTeX beamer colors

While this would be useful to color match the theme in latex presentations, those palettes are not for graphical representation of continuous variables and maybe only valid for a small number of categorical levels. Even then, there is no argument for their perceptual value.

To be considered together with adding support for other palettes.

beamer colors.zip

beamer_colors.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.