Python Forum
How to prevent tick labels overlapping with axis
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to prevent tick labels overlapping with axis
#2
see: https://matplotlib.org/api/_as_gen/matpl...arams.html
Any of (or combination of) the following:
ax.tick_params(axis='x', which='major', pad=10)
ax.tick_params(axis='y', which='major', pad=10)
ax.tick_params(axis='both', which='major', pad=10)
Reply


Messages In This Thread
RE: How to prevent tick labels overlapping with axis - by Larz60+ - May-12-2018, 09:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Dataframe.hist() labels overlapping graphs RawlinsCross 2 4,643 Jan-14-2020, 03:02 PM
Last Post: RawlinsCross
  How matplotlib automatically set x-axis and y-axis limits for bar graph ? ift38375 3 5,615 Jul-04-2019, 08:23 AM
Last Post: scidam
  Add tick labels in healpy.mollview ? BourbonKid67 4 4,917 Apr-10-2019, 10:19 AM
Last Post: BourbonKid67

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020