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

Remove plural from rotations attribute? #545

Closed
c42f opened this issue Mar 1, 2019 · 5 comments
Closed

Remove plural from rotations attribute? #545

c42f opened this issue Mar 1, 2019 · 5 comments
Labels
Makie Backend independent issues (Makie core)

Comments

@c42f
Copy link
Contributor

c42f commented Mar 1, 2019

I just got caught out because the rotations attribute to scatter is pluralized, in contrast to pretty much all the other attributes. Can we rename this to rotation?

Are there other attributes which should also have the plural removed? How do we find them all?

@SimonDanisch
Copy link
Member

Hm, maybe it needs to be marker_rotation, since there is also a rotation default keyword for all plots, translating into a rotation of the whole plot!

@c42f
Copy link
Contributor Author

c42f commented Mar 2, 2019

Ah, that's awkward 😬 So some attributes relate to the plot as a whole and others the elements which are to be plotted. Of course this makes sense and is a bit unavoidable if we want convenient plotting in a single function call.

But wait... the following doesn't seem to do anything:

scatter([1,2], [1,2], rotation=1)

is that right?

@SimonDanisch
Copy link
Member

No :-D maybe need to go through this, make it consistent and have some tests^^

@jkrumbiegel jkrumbiegel transferred this issue from JuliaPlots/AbstractPlotting.jl Apr 27, 2020
@jkrumbiegel jkrumbiegel added the Makie Backend independent issues (Makie core) label Apr 27, 2020
@yakir12
Copy link
Contributor

yakir12 commented Jan 19, 2022

Also, to rotate text you need to specify rotation in singular, yet another reason to standardize.

@ffreyer
Copy link
Collaborator

ffreyer commented May 24, 2024

Fixed in 0.21 via #3724

@ffreyer ffreyer closed this as completed May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Makie Backend independent issues (Makie core)
Projects
None yet
Development

No branches or pull requests

5 participants