Make ticks face in by default

This commit is contained in:
rasmusvt 2022-08-02 10:03:49 +02:00
parent 20111a7457
commit 0e053ea1e2

View file

@ -182,8 +182,13 @@ def adjust_plot(fig, ax, options):
# Hide x- and y-ticks:
if options['hide_y_ticks']:
ax.tick_params(axis='y', direction='in', which='both', left=False, right=False)
else:
ax.tick_params(axis='y', direction='in', which='both', left=True, right=True)
if options['hide_x_ticks']:
ax.tick_params(axis='x', direction='in', which='both', bottom=False, top=False)
else:
ax.tick_params(axis='x', direction='in', which='both', bottom=True, top=True)