-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Clean up axis expansion #1207
Comments
It would be a hell of a lot easier to understand this code if I'd documented anything 😢. Here's what I've figured out so far:
The code would be a lot easier to follow if the argument names referring to the "scales details" object were consistent - sometimes it's called scales, and sometimes |
IIUC that is basically how the old
Edit: I was confused |
Also think about how transformations fit into this (since there is data space, transformed data space, and coordinate space); #980 relates to these problems. |
@lionel- the disadvantage of full feature parity is then its confusing where you should set things. I'd definitely prefer a boolean here. @BrianDiggs that's beyond the scope of this issue, unfortunately |
Am I the only one who thinks the first line should be a fortune? I leave it to Hadley to self-nominate. ;-)
|
This now looks good to me. Please let me know what you think. |
it works brilliantly. Thanks! |
wise
parameter used to control expansion, but was removed, with the claim that expansion was now the default behaviour.expand
parameter in one place (the scale), but I think there is some interaction with the coord, because the default expansion varies based on the coordinate system. Maybe the coordinate system could have a boolean expand flag, with the details controlled in the scale.cc @wch, @lionel-
The text was updated successfully, but these errors were encountered: