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

tick align=outside set for xbar/ybar but not xbar stacked/ybar stacked` #475

Open
nrother opened this issue May 14, 2024 · 0 comments
Open

Comments

@nrother
Copy link

nrother commented May 14, 2024

The code for xbar sets ytick align=outside, but the code for xbar stacked does not. The same applies for ybar and ybar stacked.

This seem to be an error to me.

I also noted that the manual (link to online version) states that xbar is defined as

/pgfplots/xbar/.style={
        /tikz/xbar,
        bar cycle list,
        tick align=outside,
        xbar legend,
        /pgfplots/bar shift auto={#1},
    }, 

Which is not really accurate. Specifically, it mentions tick align=outside, but in fact, only ytick align=outside is set. I think the code is correct, just the documentation is misleading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant