Skip to content

Conversation

@Fil
Copy link
Contributor

@Fil Fil commented Feb 16, 2023

It is redundant since in the case of a log scale, the values have already been coerced to a Float64Array by

options = coerceType(channels, options, coerceNumbers);

(It's not a huge deal since we call it maybe just once or twice… anyway. Researched with #1279.)

It is redundant since in the case of a log scale, the values have already been coerced to a Float64Array by https://github.com/observablehq/plot/blob/d8378f088fa39d611f3219992ad5e452418765b6/src/scales.js#L306
@Fil Fil requested a review from mbostock February 16, 2023 16:44
@Fil Fil merged commit 37a160f into main Feb 16, 2023
@Fil Fil deleted the fil/remove-log-coercion branch February 16, 2023 16:54
chaichontat pushed a commit to chaichontat/plot that referenced this pull request Jan 14, 2024
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.

3 participants