def plot_midplane_tau(self, filename):

        import matplotlib.pyplot as plt

        tau_midplane = self.get_midplane_tau(self.grid.r_wall[1:])

        fig = plt.figure()
        ax = fig.add_subplot(1, 1, 1)
        ax.loglog(self.grid.r[1:] / self.grid.r[1] - 1.,
                  tau_midplane[1:] - tau_midplane[:-1],
                  drawstyle='steps-mid')
        fig.savefig(filename)

    # COORDINATE GRID
dataset/ETHPy150Open hyperion-rt/hyperion/hyperion/model/analytical_yso_model.py/AnalyticalYSOModel.plot_midplane_tau/original