I am writing code for my internship and I am adding the latitude and longitude of the area we are viewing. The section of code giving me trouble looks like this. I want to be able to have the number and then a W to show it is degrees west for my X axis and a N for my Y axis to show that it is degrees north. I have tried to use plt.ylabel("Degrees North") and that did not work as well. Any help would be greatly appreciated.
ax.set_xticks([-94, -96, -98, -100, -102, -104])
ax.set_yticks([28, 30, 32, 34, 36])
secax = ax.secondary_yaxis(1.0)
secax.set_yticks([28, 30, 32, 34, 36])