To change the pad between ticks and ticklabels

ax.axis["left"].major_ticklabels.set_pad(10)
Or ticklabels and axis-label

ax.axis["left"].label.set_pad(10)
To change the pad between ticks and ticklabels

ax.axis["left"].major_ticklabels.set_pad(10)
Or ticklabels and axis-label

ax.axis["left"].label.set_pad(10)
This is also quite different from standard Matplotlib and can be confusing. When you want to rotate the ticklabels, first consider using "set_axis_direction" method.

ax1.axis["left"].major_ticklabels.set_axis_direction("top")
ax1.axis["right"].label.set_axis_direction("left")
If you want to make ticks outward and ticklabels inside the axes, use invert_ticklabel_direction method.

ax.axis[:].invert_ticklabel_direction()
changes axis_direction of all the associated artist with the "left" axis, while

ax1.axis["left"].major_ticklabels.set_axis_direction("top")
The axis_direction can be adjusted in the AxisArtist level, or in the level of its child artists, i.e., ticks, ticklabels, and axis-label.

ax1.axis["left"].set_axis_direction("top")
A related method is "set_tick_out". It makes ticks outward (as a matter of fact, it makes ticks toward the opposite direction of the default direction).

ax.axis[:].major_ticks.set_tick_out(True)
AxisArtist provides a helper method to control the visibility of ticks, ticklabels, and label. To make ticklabel invisible,

ax.axis["bottom"].toggle(ticklabels=False)
ax.axis's __getitem__ method can take multiple axis names. For example, to turn ticklabels of "top" and "right" axis on,

ax.axis["top", "right"].toggle(ticklabels=True)
For example, if you want to change the color attributes of major_ticklabels of the bottom x-axis

ax.axis["bottom"].major_ticklabels.set_color("b")

Recommend

Matplotlib Overview of axisartist toolkit Rotation and Alignment of TickLabels

Matplotlib Overview of axisartist toolkit HowTo

Matplotlib Overview of axisartist toolkit Default AxisArtists

Matplotlib Overview of axisartist toolkit axisartist axisartist with ParasiteAxes

Matplotlib Overview of axisartist toolkit axisartist

Matplotlib The mplot3d Toolkit Tri-Surface plots

Matplotlib The mplot3d Toolkit

Matplotlib Overview of mpl_toolkits.axes_grid1 AxesDivider

Matplotlib Overview of mpl_toolkits.axes_grid1 axes_grid1 RGBAxes

Matplotlib Overview of mpl_toolkits.axes_grid1 axes_grid1 InsetLocator

Matplotlib Overview of mpl_toolkits.axes_grid1 axes_grid1 ParasiteAxes Example 2. twin

Matplotlib Overview of mpl_toolkits.axes_grid1 axes_grid1 colorbar whose height (or width) in sync with the master axes scatter_hist.py with AxesDivider

Matplotlib Overview of mpl_toolkits.axes_grid1 axes_grid1 AxesDivider Class

Matplotlib Image tutorial Plotting numpy arrays as images Array Interpolation schemes

Matplotlib Image tutorial Plotting numpy arrays as images Examining a specific data range

Matplotlib Image tutorial Plotting numpy arrays as images Color scale reference

Matplotlib Image tutorial Plotting numpy arrays as images Applying pseudocolor schemes to image plots

Matplotlib Image tutorial Plotting numpy arrays as images

Matplotlib Image tutorial Importing image data into Numpy arrays

Matplotlib Image tutorial Startup commands

Matplotlib Pyplot tutorial Logarithmic and other nonlinear axes

Matplotlib Pyplot tutorial Working with text Annotating text

Matplotlib Pyplot tutorial Working with text Using mathematical expressions in text

Matplotlib Pyplot tutorial Working with text

Matplotlib Pyplot tutorial Working with multiple figures and axes

Matplotlib Pyplot tutorial Controlling line properties

Matplotlib Pyplot tutorial Plotting with categorical variables

Matplotlib Pyplot tutorial Plotting with keyword strings

Matplotlib Pyplot tutorial Intro to pyplot Formatting the style of your plot

Matplotlib Pyplot tutorial Intro to pyplot

Matplotlib Basic Usage Working with multiple Figures and Axes

Matplotlib Basic Usage Color mapped data

Matplotlib Basic Usage Axis scales and ticks Additional Axis objects

Matplotlib Basic Usage Axis scales and ticks Plotting dates and strings

Matplotlib Basic Usage Axis scales and ticks Tick locators and formatters

Matplotlib Basic Usage Axis scales and ticks Scales

Matplotlib Basic Usage Labelling plots Legends

Matplotlib Basic Usage Labelling plots Annotations

Matplotlib Basic Usage Labelling plots Using mathematical expressions in text

Matplotlib Basic Usage Labelling plots Axes labels and text

Matplotlib Basic Usage Styling Artists Linewidths, linestyles, and markersizes

Matplotlib Basic Usage Styling Artists Colors

Matplotlib Basic Usage Styling Artists

Matplotlib Basic Usage Coding styles Making a helper functions

Matplotlib Basic Usage Coding styles The object-oriented and the pyplot interfaces

Matplotlib Basic Usage Types of inputs to plotting functions

Matplotlib Basic Usage Parts of a Figure Figure

Matplotlib Basic Usage A simple example

Matplotlib Basic Usage

Matplotlib The Lifecycle of a Plot Saving our plot

Matplotlib The Lifecycle of a Plot Combining multiple visualizations

Matplotlib The Lifecycle of a Plot Customizing the plot