Make ticks face in by default
This commit is contained in:
parent
20111a7457
commit
0e053ea1e2
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue