Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Open
Description
I would like to place the tick labels snug with the ticks. Settingpad=0
is not enough: There is still a distance between the label and the tick. This is with matplotlib 3.4.2. MWE:
importmatplotlib.pyplotaspltimportnumpyasnpx=np.array([0.0,1.0])y=xplt.plot(x,y)ax=plt.gca()ax.tick_params(axis='both',which='major',pad=0,length=10,width=20)plt.show()