Trying to fix ticks not showing in code