def _plot(self, series, labels, colors, title, lines=None, today=None, stacked=False, loc=0, lines_y='bottom', today_y='bottom', stamp=False, **kwargs): p = Plotter(fill=stacked, stamp=stamp) p.plots(zip(labels, series), stacked=stacked, colors=colors) self._lines(p, series, lines, lines_y, today, today_y) plt.legend(loc=loc) plt.title('%s, stacked' % title if stacked else title)
def _plot(self, series, labels, colors, title, lines=None, today=None, stacked=False, loc=0, lines_y='bottom', today_y='bottom', **kwargs): p = Plotter(fill=stacked, **kwargs) p.plots(zip(labels, series), stacked=stacked, colors=colors) self._lines(p, series, lines, lines_y, today, today_y) plt.legend(loc=loc) plt.title('%s, stacked' % title if stacked else title)