I have a figure, which is some polynomial, and I want to have visible axes so I can see where it passes through y axis. plt.axes()
isn't what I want, it's rather about axes that are the borders of your graph. I could simply plt.plot()
the axes the way I need, but I don't think this is the best way. My code:
X = np.linspace(-100, 100, 1000)
Y = [f(i) for i in X]
plt.plot(X, Y)
plt.axes() // Does nothing since I already have default axes
plt.show()