INNER CODE UNIT · Python

rotate_ylabel

lgienapp/aquarel · aquarel/transforms.py:5

def rotate_ylabel(degrees: int):
    """
    Rotates the y-labels of the current plot.

    :param degrees: rotation in degrees
    """
    axes = plt.gcf().axes
    for ax_i in axes:
        ax_i.tick_params(axis="y", rotation=degrees)


def rotate_xlabel(degrees: int):
    """
    Rotates the x-labels of the current plot.

    :param degrees: rotation in degrees
    """
    axes = plt.gcf().axes

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…