Fix `cycle list` bug affecting bar charts

This commit is contained in:
Ross Churchley 2015-06-17 00:39:02 -07:00
parent 50377625bd
commit 56fcb29494
1 changed files with 10 additions and 5 deletions

View File

@ -138,23 +138,28 @@
mbaseplot,
bar width=6pt,
axis y line*=none,
area legend,
legend image code/.code={%
\draw[#1] (0cm,-0.1cm) rectangle (0.15cm,0.1cm);
},
cycle list name=mbarplot cycle,
},
mbarplot/.style={
mbarplot base,
ybar,
xmajorgrids=false,
ymajorgrids=true,
area legend,
legend image code/.code={%
\draw[#1] (0cm,-0.1cm) rectangle (0.15cm,0.1cm);
},
cycle list name=mbarplot cycle,
},
horizontal mbarplot/.style={
mbarplot base,
xmajorgrids=true,
ymajorgrids=false,
xbar stacked,
area legend,
legend image code/.code={%
\draw[#1] (0cm,-0.1cm) rectangle (0.15cm,0.1cm);
},
cycle list name=mbarplot cycle,
},
% \end{macrocode}
% \end{macro}