{"id":26264289,"url":"https://github.com/tyluRp/lisa","last_synced_at":"2025-03-14T02:01:55.719Z","repository":{"id":56936035,"uuid":"177907382","full_name":"tylerlittlefield/lisa","owner":"tylerlittlefield","description":":woman_artist: Color palettes from Color Lisa","archived":false,"fork":false,"pushed_at":"2020-09-20T18:10:32.000Z","size":2500,"stargazers_count":45,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-20T01:28:23.863Z","etag":null,"topics":["color-palette","colorlisa","data-visualization","palettes","r","rstats"],"latest_commit_sha":null,"homepage":"https://tylurp.github.io/lisa/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tylerlittlefield.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-27T02:56:01.000Z","updated_at":"2024-02-29T22:20:03.000Z","dependencies_parsed_at":"2022-08-21T06:20:44.940Z","dependency_job_id":null,"html_url":"https://github.com/tylerlittlefield/lisa","commit_stats":null,"previous_names":["tylurp/lisa"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylerlittlefield%2Flisa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylerlittlefield%2Flisa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylerlittlefield%2Flisa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylerlittlefield%2Flisa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tylerlittlefield","download_url":"https://codeload.github.com/tylerlittlefield/lisa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240549434,"owners_count":19819131,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["color-palette","colorlisa","data-visualization","palettes","r","rstats"],"created_at":"2025-03-14T02:01:55.318Z","updated_at":"2025-03-14T02:01:55.670Z","avatar_url":"https://github.com/tylerlittlefield.png","language":"R","readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\",\n  dpi = 300\n)\n```\n# lisa \u003cimg src=\"man/figures/logo.png\" align=\"right\" height=150/\u003e\n\n\u003c!-- badges: start --\u003e\n[![R build status](https://github.com/tyluRp/lisa/workflows/R-CMD-check/badge.svg)](https://github.com/tyluRp/lisa/actions)\n[![CRAN status](https://www.r-pkg.org/badges/version/lisa)](https://cran.r-project.org/package=lisa)\n[![CRAN_Download_Badge](https://cranlogs.r-pkg.org/badges/lisa)](https://cran.r-project.org/package=lisa)\n[![Codecov test coverage](https://codecov.io/gh/tyluRp/lisa/branch/master/graph/badge.svg)](https://codecov.io/gh/tyluRp/lisa?branch=master)\n\u003c!-- badges: end --\u003e\n\nThis is a color palette R package that contains 128 palettes from [**Color Lisa**](http://colorlisa.com/).\n\n```{r waffle, echo=FALSE, fig.height=2, warning=FALSE, message=FALSE}\nlibrary(lisa)\n\nparts \u003c- data.frame(\n  names = names(lisa),\n  vals = 1\n)\n\nwaffle::waffle(parts, rows = 5, colors = purrr::flatten_chr(lisa)) +\n  ggplot2::theme(legend.position = \"none\")\n```\n\n## Installation\n\nInstall the released version of `lisa` from CRAN:\n\n```r\ninstall.packages(\"lisa\")\n```\n\nOr install the development version from GitHub with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"tylurp/lisa\")\n```\n\nIf you aren't an R user, you might be interested in [palettes.yml](inst/extdata/palettes.yml) which contains all palettes in [YAML](https://en.wikipedia.org/wiki/YAML) format.\n\n## Palettes\n\nHere's a sample of the available palettes:\n\n```{r, include=FALSE}\nset.seed(4376)\n```\n\n```{r example1, results='hide'}\nlibrary(lisa)\n\npar(mfrow = c(6, 3))\nlapply(sample(lisa, 18), plot)\n```\n\nYou can also call and/or modify palettes using `lisa_palette`:\n\n```{r example2, fig.height=1, results='hide'}\nx \u003c- lisa_palette(\"JackBush_1\", 1000, \"continuous\")\ny \u003c- lisa_palette(\"PabloPicasso\", 2, \"discrete\")\nz \u003c- lisa_palette(\"KatsushikaHokusai\", 1000, \"continuous\")\nlapply(list(x, y, z), plot)\n```\n\nAll palettes have 3 attributes associated with them, you can access them with the `lisa` list:\n\n```{r}\nlisa$VincentvanGogh\n```\n\nThere is also a table with more information of all available palettes:\n\n```{r}\nartwork\n```\n\nExample `ggplot2` usage:\n\n```{r ggplot2-example, fig.height=4}\nlibrary(ggplot2)\n\nggplot(mtcars, aes(mpg, disp)) + \n  geom_point(aes(col = factor(gear)), size = 5, show.legend = FALSE) + \n  scale_color_manual(values = lisa$`Jean-MichelBasquiat`) + \n  theme_void()\n```\n\n\n## Acknowledgements\n\n* [**Color Lisa**](http://colorlisa.com/) for the color palettes\n* [`wesanderson`](https://github.com/karthik/wesanderson) for source code that powers most things in this repository\n","funding_links":[],"categories":["R"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FtyluRp%2Flisa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FtyluRp%2Flisa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FtyluRp%2Flisa/lists"}