def plot_consumo_diario(self, ax=None):
p_params = dict(figsize=(<NUM_LIT:16>, <NUM_LIT:9>)) if ax is None else dict(ax=ax)<EOL>consumo_diario = self._consumo_horario.groupby(pd.TimeGrouper('<STR_LIT:D>')).sum()<EOL>ax = consumo_diario.plot(color='<STR_LIT>', lw=<NUM_LIT:2>, **p_params)<EOL>params_lines = dict(lw=<NUM_LIT:1>, linestyle='<STR_LIT::>', alpha=<NUM_LIT>)<EOL>xlim = consumo_diario[<NUM_LIT:0>], consumo_diario.index[-<NUM_LIT:1>]<EOL>ax.hlines([consumo_diario.mean()], *xlim, color='<STR_LIT>', **params_lines)<EOL>ax.hlines([consumo_diario.max()], *xlim, color='<STR_LIT>', **params_lines)<EOL>ax.hlines([consumo_diario.min()], *xlim, color='<STR_LIT>', **params_lines)<EOL>ax.set_title('<STR_LIT>'.format(self.consumo_total))<EOL>ax.set_ylabel('<STR_LIT>')<EOL>ax.set_xlabel('<STR_LIT>')<EOL>ax.set_ylim((<NUM_LIT:0>, consumo_diario.max() * <NUM_LIT>))<EOL>ax.grid('<STR_LIT>', axis='<STR_LIT:x>')<EOL>return ax<EOL>
Gráfica del consumo diario en el intervalo.
        :param ax: optional matplotlib axes
        :return: matplotlib axes