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

Confused about the Offset option #36

Open
NathanBaulch opened this issue Apr 19, 2022 · 2 comments
Open

Confused about the Offset option #36

NathanBaulch opened this issue Apr 19, 2022 · 2 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@NathanBaulch
Copy link
Contributor

I'm a bit confused about the meaning of the Offset option.

for i := 0; i < 10; i++ {
	println("offset", i, ":", Plot([]float64{0}, Offset(i)))
}
offset 0 :  0.00 ┼
offset 1 : ┼
offset 2 :  0.00┼
offset 3 :  0.00 ┼
offset 4 :  0.00  ┼
offset 5 :  0.00   ┼
offset 6 :   0.00   ┼
offset 7 :    0.00   ┼
offset 8 :     0.00   ┼
offset 9 :      0.00   ┼

This is pretty odd behavior that raises a few questions. Is the purpose of this option to add space before or after the y-axis label? It seems to do a bit of both in an inconsistent way.

@NathanBaulch
Copy link
Contributor Author

Bump!

@guptarohit
Copy link
Owner

Hi @NathanBaulch, good catch! I would personally like offset to be space before the y-axis label, maybe we could have another parameter so that we could handle both. I checked this thing with the python version, there is also the same behaviour, @kroitor could you also please share your opinion on this (is this expected?).

@guptarohit guptarohit added help wanted Extra attention is needed question Further information is requested labels Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants