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, mbaseplot,
bar width=6pt, bar width=6pt,
axis y line*=none, 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/.style={
mbarplot base, mbarplot base,
ybar, ybar,
xmajorgrids=false, xmajorgrids=false,
ymajorgrids=true, 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={ horizontal mbarplot/.style={
mbarplot base, mbarplot base,
xmajorgrids=true, xmajorgrids=true,
ymajorgrids=false, ymajorgrids=false,
xbar stacked, 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{macrocode}
% \end{macro} % \end{macro}