pgf-tikz/pgfplots

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

Opened this issue · 0 comments

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.