Skip to content

Distance between tick labels (numbers) and axis  #210

Open

Description

@Sophia478

Hi there,

Is there a way to adjust the distance between the tick labels (numbers) and the axis?
I could not find anything and the things I tried did not work....

Activity

  1. bmondal94 commented on May 2, 2024

    @bmondal94

    You can use offset parameter to tune the distance between tick labels and triangle axes.
    tax.ticks(axis='lbr', multiple=5, linewidth=0.05, offset=0.05)

    You have similar functionality in axis labels as well.
    tax.right_axis_label("Test label", fontsize=20, offset=0.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions