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.
pgfplotspackage. – Salim Bou Feb 06 '16 at 09:34\pgfplotsset{compat=1.13}does not throw an error. – Manuel Schmidt Feb 06 '16 at 09:41pgflibrarypgfplots.colorbrewer.code.texin a subfolder of pgfplots? If yes, you should find a line/pgfplots/colormap/YlOrBr/.style={in it, which does define the style, right? – Stefan Pinnow Feb 06 '16 at 10:12/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.texand I found the line you mention in the former. – Manuel Schmidt Feb 06 '16 at 11:38