Skip to content
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

Inverted Y axis with zero: true #1985

Closed
yurivish opened this issue Feb 8, 2024 · 2 comments · Fixed by #2027
Closed

Inverted Y axis with zero: true #1985

yurivish opened this issue Feb 8, 2024 · 2 comments · Fixed by #2027
Assignees
Labels
bug Something isn’t working

Comments

@yurivish
Copy link
Contributor

yurivish commented Feb 8, 2024

If all values are the same, then the Y axis appears upside-down.

Example: https://observablehq.com/@yurivish/upside-down-y-axis

image

If at least one value differs from the rest, then the Y axis appears right-side-up:

image
@mbostock mbostock added the bug Something isn’t working label Feb 8, 2024
@mbostock
Copy link
Member

mbostock commented Feb 8, 2024

Heh! Good one. We will investigate.

@aimerie
Copy link

aimerie commented Mar 20, 2024

I'm experiencing this as well. I'm glad to see there is an open bug already! Any idea if this will make the next release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn’t working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants