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

Padding #16

Open
asinghvi17 opened this issue Apr 7, 2024 · 1 comment
Open

Padding #16

asinghvi17 opened this issue Apr 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@asinghvi17
Copy link
Member

image (1)

Would be nice to allow for some padding on top of markersize here, but I'm not sure how it would work with markersize semantics.

@asinghvi17 asinghvi17 added the enhancement New feature or request label Apr 7, 2024
@asinghvi17
Copy link
Member Author

asinghvi17 commented Apr 20, 2024

I guess we can have a scale_factor type of thing, which is 1/padding where padding is an attribute. The layout algorithm would be passed scale_factor .* markersize, and we should make clear that markersize must be Vec2f if given in a vector (i.e., markersize::Real, markersize::NTuple{2, <: Real}, markersize::Vec2f, markersize::Vector{<: Real}, markersize::Vector{<: Vec2f}) are the acceptable types here. Only these have correct multiplication semantics with scalars.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant