Skip to content

create a non-empty bar if the domain is collapsed #438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

Fil
Copy link
Contributor

@Fil Fil commented Jun 18, 2021

(e.g. binning of a one-element data)

degenerate case example given by @severo in #417

(e.g. binning of a one-element data)

degenerate case example given by @severo in #417
@mbostock mbostock force-pushed the fil/zero-width-bins branch from 8fe5a11 to 74234af Compare July 31, 2021 15:52
Copy link
Member

@mbostock mbostock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to fix this issue, but I think we’ll need a different fix. One issue here is that if you have a log x-scale (which admittedly is a little weird when binning, but is theoretically valid), then adding the fixed offset to x0 = x1 could mean that your x-domain will cross zero. I think we may want to fix this at the rendering layer (i.e., marks) rather than by changing the semantics of the data transform.

@Fil Fil closed this Aug 2, 2021
@Fil Fil deleted the fil/zero-width-bins branch August 2, 2021 12:29
@Fil
Copy link
Contributor Author

Fil commented Aug 2, 2021

superseded by #470 (& #474)

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.

2 participants