I am trying to use the new colorbrewer library and get the following error:
Error: I do not know the key '/pgfplots/colormap/YlOrBr' and I am going to ignore it.
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.13}
\usepgfplotslibrary{colorbrewer}
\usepgfplotslibrary{colormaps}
\begin{document}
\begin{tikzpicture}
\begin{axis}[]
\addplot3[surf, colormap/YlOrBr, samples=41, domain=0:360] {sin(x)*sin(y)};
\end{axis}
\end{tikzpicture}
\end{document}
Where is my mistake?
Edit: I previously updated pgfplots to 1.13 with the TexLiveUtility under Mac OS 10.11.3. It tells me now that I have the newest version. Also \pgfplotsset{compat=1.13} does not throw an error.
pgfplots
package.\pgfplotsset{compat=1.13}
does not throw an error.pgflibrarypgfplots.colorbrewer.code.tex
in a subfolder of pgfplots? If yes, you should find a line/pgfplots/colormap/YlOrBr/.style={
in it, which does define the style, right?/usr/local/texlive/2015/texmf-dist/tex/generic/pgfplots/libs/pgflibrarypgfplots.colorbrewer.code.tex
/usr/local/texlive/2015texmf-dist/tex/generic/pgfplots/libs/tikzlibrarycolorbrewer.code.tex
and I found the line you mention in the former.