def _plot_heat_capacity_P_polyfit(self, ax, Z=1, exp_data=None, xlabel='Temperature (K)', ylabel='$C\\mathrm{_P}$ $\\mathrm{(J/mol\\cdot K)}$'):
    ax.set_xlabel(xlabel)
    ax.set_ylabel(ylabel)
    ax.plot(self._temperatures[:self._len], (np.array(self._cp_polyfit[:self._len]) / Z), 'r-')
    if exp_data:
        ax.plot(exp_data[0], exp_data[1], 'ro')
    ax.set_xlim(self._temperatures[0], self._temperatures[(self._len - 1)])
def _plot_heat_capacity_P_polyfit(self, ax, Z=1, exp_data=None, xlabel='Temperature (K)', ylabel='$C\\mathrm{_P}$ $\\mathrm{(J/mol\\cdot K)}$'):
    ax.set_xlabel(xlabel)
    ax.set_ylabel(ylabel)
    ax.plot(self._temperatures[:self._len], (np.array(self._cp_polyfit[:self._len]) / Z), 'r-')
    if exp_data:
        ax.plot(exp_data[0], exp_data[1], 'ro')
    ax.set_xlim(self._temperatures[0], self._temperatures[(self._len - 1)])