I want to use log_2 scale on the y axis for my plot and the ticks to be equidistant. However, what I get is. How can I achieve equidistant ticks with equal spacing?
Using the very same code for all three plots, only the first one is the way I intended it to be. I dont get it
axs[i].set_yscale("log", base=2)
axs[i].yaxis.set_major_locator(LogLocator(base=2))
axs[i].yaxis.set_minor_locator(LogLocator(base=2))
axs[i].plot(x, y)
plt.show()