GithubHelp home page GithubHelp logo

Comments (6)

cormullion avatar cormullion commented on July 4, 2024

Sounds like a good idea!

Most of the predefined colorschemes here are"documented" elsewhere, with a link to the originating site (see https://juliagraphics.github.io/ColorSchemes.jl/latest/basics/). And there are usually license files to go with them, in /data. So you could explain and document them somewhere (eg your web site) and "publish" them, then it's easy to include them here with a suitable link to "the source".

from colorschemes.jl.

cormullion avatar cormullion commented on July 4, 2024

Did you get round to writing these up somewhere?

from colorschemes.jl.

babaq avatar babaq commented on July 4, 2024

i have these scattered in several packages, do you suggest create a new small pacakge only for them, or i could move them all into one packages(the ColorLab)?

from colorschemes.jl.

cormullion avatar cormullion commented on July 4, 2024

Well it's just that there's not enough space to describe each colour scheme in any detail in the docs, so I like to just add a link to a place where the purpose and nature of the schemes is provided in more detail. Eg for cmocean I can just link to their site (https://juliagraphics.github.io/ColorSchemes.jl/latest/basics/#cmocean) where they have all the credits, etc..

To be honest I suppose it could just be a README.md or a section in any documentation you might already have. :)

from colorschemes.jl.

babaq avatar babaq commented on July 4, 2024

I see your point. what about the scheme data, right now I save them in a JLD2 file, and loaded in package init(), but I remember some of the concreate colors in Colors.jl are written down directly in the source file, is this the way of colorschemes?

from colorschemes.jl.

cormullion avatar cormullion commented on July 4, 2024

Yes, every colorscheme in this package is simply an array of RGB{Float64}. The idea of the package is simply to act as a simple catalogue of pre-defined colorschemes - unlike some other packages where colorschemes are generated when required.

from colorschemes.jl.

Related Issues (20)

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.