key paths for colormaps blackwhite and violet are not set
Brought to you by:
cfeuersaenger,
ludewich
In pgfplots.code.tex v1.7, a working predefined colormap is defined like
/pgfplots/colormap/greenyellow/.style={
/pgfplots/colormap={greenyellow}{rgb255(0cm)=(0,128,0); rgb255(1cm)=(255,255,0)}
},
with /pgfplots/colormap= inside the style. The colormaps 'blackwhite' and 'violet' are missing the /pgfplots/ prefix, which caused me some errors when attempting to use these colormaps:
/pgfplots/colormap/blackwhite/.style={
colormap={blackwhite}{gray(0cm)=(0); gray(1cm)=(1)}
},
/pgfplots/colormap/violet/.style={
colormap={violet}{rgb255=(25,25,122) color=(white) rgb255=(238,140,238)}
},
These should be changed to include the path prefix /pgfplots/ within the style definition.
Fixed.
Thanks for the report.