Fix `cycle list` bug affecting bar charts
This commit is contained in:
parent
50377625bd
commit
56fcb29494
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue