def plot_angle(ax, angles: list, z_coords: list, label: str=None, decorate: bool=True):
    '\n    Plot angle.\n\n    Args:\n        ax: matplotlib ax.\n        z_coords (list): List of z coordinate of each plane.\n        label (str): Plot label.\n        decorate (bool): If True, ax is decorated.\n    '
    if decorate:
        xlabel = 'Angle'
        ylabel = 'Hight'
    else:
        xlabel = ylabel = None
    _angles = deepcopy(angles)
    _z_coords = deepcopy(z_coords)
    _angles.append(angles[0])
    _z_coords.append((z_coords[(- 1)] + z_coords[1]))
    line_chart(ax=ax, xdata=_angles, ydata=_z_coords, xlabel=xlabel, ylabel=ylabel, label=label, sort_by='y')
    if decorate:
        num = len(_z_coords)
        tb_idx = [0, int((num / 2)), (num - 1)]
        bulk_angle = angles[int((num / 4))]
        for idx in tb_idx:
            ax.hlines(_z_coords[idx], xmin=(- 1), xmax=(bulk_angle + 2), linestyle='--', linewidth=1.5)
Plot angle.

Args:
    ax: matplotlib ax.
    z_coords (list): List of z coordinate of each plane.
    label (str): Plot label.
    decorate (bool): If True, ax is decorated.
def plot_angle(ax, angles: list, z_coords: list, label: str=None, decorate: bool=True):
    '\n    Plot angle.\n\n    Args:\n        ax: matplotlib ax.\n        z_coords (list): List of z coordinate of each plane.\n        label (str): Plot label.\n        decorate (bool): If True, ax is decorated.\n    '
    if decorate:
        xlabel = 'Angle'
        ylabel = 'Hight'
    else:
        xlabel = ylabel = None
    _angles = deepcopy(angles)
    _z_coords = deepcopy(z_coords)
    _angles.append(angles[0])
    _z_coords.append((z_coords[(- 1)] + z_coords[1]))
    line_chart(ax=ax, xdata=_angles, ydata=_z_coords, xlabel=xlabel, ylabel=ylabel, label=label, sort_by='y')
    if decorate:
        num = len(_z_coords)
        tb_idx = [0, int((num / 2)), (num - 1)]
        bulk_angle = angles[int((num / 4))]
        for idx in tb_idx:
            ax.hlines(_z_coords[idx], xmin=(- 1), xmax=(bulk_angle + 2), linestyle='--', linewidth=1.5)