Skip to content

Feature: encode_colour() and _native() allow na_value#38

Open
zeehio wants to merge 14 commits intothomasp85:mainfrom
zeehio:encode-allows-na-colour
Open

Feature: encode_colour() and _native() allow na_value#38
zeehio wants to merge 14 commits intothomasp85:mainfrom
zeehio:encode-allows-na-colour

Conversation

@zeehio
Copy link

@zeehio zeehio commented Sep 19, 2022

Built on top of #37 and #36 (please review those first), this pull request allows for encode_colour() to pass a na_value.

Besides being a convenience feature, it also enables me to reduce passes or creating copies of larger vectors.

I am aiming to improve performance in how scale mapping works in ggplot2 with larger vectors. Related to tidyverse/ggplot2#4989

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

Successfully merging this pull request may close these issues.

1 participant