turtletopia / gglgbtq Goto Github PK
View Code? Open in Web Editor NEWProvides multiple palettes based on pride flags with tailored themes.
Home Page: https://turtletopia.github.io/gglgbtq/
License: GNU General Public License v3.0
Provides multiple palettes based on pride flags with tailored themes.
Home Page: https://turtletopia.github.io/gglgbtq/
License: GNU General Public License v3.0
The function should take n
and randomly select a palette that contains this number of colors. I propose returning palette name so that theme_lgbtq()
can be used.
By default the flag should contain n strips of equal width with colors in order, but some flags work differently. For example, the transgender flag has symmetrical stripes. These flags should have custom plotting functions.
Is ggdark
enough or should we write our own themes?
Hi
We preparing the next release of ggplot2 and our reverse dependency checks show that your package is failing with the new version. Looking into it we see that your package somehow includes references to ggplot2 code from when it was build, which causes the check to emit the "Import not declared from..." error. Please see https://www.tidyverse.org/blog/2022/09/playing-on-the-same-team-as-your-dependecy/ for some more info about why this can cause issues.
You can install the release candidate of ggplot2 using devtools::install_github('tidyverse/[email protected]')
to test this out.
We plan to submit ggplot2 by the end of October and hope you can have a fix ready before then
Kind regards
Thomas
If we decide it is indeed, then contact https://github.com/erikgahner/awesome-ggplot2 for details.
Most palettes generated this way would be bidirectional (these with e.g. white in the middle, like lesbian/gay/agender, but also bi). Intersex flag may be a good onedirectional palette (i.e. with no "0" point in the middle).
Will be a little bit more complicated, since it's a plot.
name
argument to both palette_lgbtq()
and theme_lgbtq()
should be first interpreted to allow the user more flexibility in specifying palette name (and to make it more intuitive to use, e.g. allow "trans"
instead of having to specify "transgender"
).
palette_lgbtq()
should take an additional parameter or two that would allow the user to modify values in HSV system or something similar (do the research about it).
Values in [0, 1)
range would reduce values of the selected parameter, values in (1, Inf]
would do the opposite (doing basically the inverse of the former). It would be a simple multiplier.
Use pronouns.page as a source for most flags.
A-spectrum:
Sexualities:
Galactian alignment system:
Genders:
Simply pretty palettes:
If theme_lgbtq()
is used with no arguments, the plot should be traversed in search of palette_lgbtq()
values used. Easy when only one paleete used, harder when multiple palettes appear. In the latter case, perhaps implement some kind of addition of two themes (sth that returns a theme working for both themes?).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.