Tick direction#

Tick direction can be modified via ax.tick_params(direction={'in', 'out', 'inout'}).

ax.tick_params(direction='in'), ax.tick_params(direction='out'), ax.tick_params(direction='inout')
import matplotlib.pyplot as plt
import mpltern

fig = plt.figure(figsize=(10.8, 4.8))
fig.subplots_adjust(left=0.075, right=0.925, wspace=0.25)

for i, direction in enumerate(["in", "out", "inout"]):
    ax = fig.add_subplot(1, 3, i + 1, projection='ternary')
    ax.tick_params(direction=direction)
    ax.set_title(f"ax.tick_params(direction='{direction}')", pad=36)

plt.show()

Total running time of the script: (0 minutes 3.008 seconds)

Gallery generated by Sphinx-Gallery