Skip to content

Expand functionality of color.method function utilization for hex-plotters#151

Open
dtm2451 wants to merge 1 commit into
develfrom
hex-function-expansion
Open

Expand functionality of color.method function utilization for hex-plotters#151
dtm2451 wants to merge 1 commit into
develfrom
hex-function-expansion

Conversation

@dtm2451

@dtm2451 dtm2451 commented Apr 17, 2024

Copy link
Copy Markdown
Owner

Adds capabilities:

  1. Use a custom function as color.method for discrete color.var-data
  2. Use a custom function that outputs either numeric or discrete type outputs for discrete or numeric color.var-data.

Fixes bug:

  • currently / previously, function-type color.method were always assumed to yield numeric outputs. Thus, using a function which returned discrete outputs would ultimately fail later on with the plotting error: "Discrete values supplied to continuous scale."

ToDo:

  • Update documentation
  • Unit Tests

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