[colorbar as legend] `colorbar style` not working
Brought to you by:
cfeuersaenger,
ludewich
I just realized that colrobar style
isn't working when colorbar as legend
is used in a normal axis
environment. Interestingly this combination is working when used in \pgfplotscolorbardrawstandalone
.
\documentclass[border=5pt]{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ % colorbar, % <-- works colorbar as legend, % <-- doesn't work colorbar style={ ticklabel style={ draw=red, }, }, ] \end{axis} \end{tikzpicture} %\pgfplotscolorbardrawstandalone[ % colorbar as legend, % <-- works (for whatever reason) % colorbar style={ % ticklabel style={ % draw=red, % }, % }, %] \end{document}