Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Discrete x/y scales reserve space for unused limits #1638
Also is it intentional that continuous data on a discrete scale does not receives any expansion?
In general can you explain the calls to
The goal was always to get an aesthetic pleasing amount of space between the data and the axes. In an ideal world, that would be the same for both x and y axes, but there's no way to do that.
You're right that we should respect both options - I'm not sure why I made that change.
For this problem, the fix is probably straightforward - what we need to make sure to capture is a few different motivating examples of mixing continuous and discrete values on a discrete axis.