I would like to have corresponding tick marks on both the left and right y-axes. However, I would like the left y-axis ticks to be outside the axes and the right y-axis ticks to be inside the axes.
What I have:
import matplotlib.pyplot as plt
ax = plt.subplot(1,1,1)
ax.tick_params(axis='y',which='both',direction='in',right=True)
Is there any way to get the ax.tick_params() to work only on the right axis?

