if I had something like;
import numpy as np, math as m, matplotlib.pyplot as plt
def test():
x = [1,2,3]
y = [m.log(0.1),m.log(0.2),m.log(0.3)]
fig1 = plt.figure()
plt.plot(x,y)
plt.show()
This will display a graph with the y axis showing negative numbers. I was wondering how you make the graph display it as a logarithm instead (like what the list y was initially defined to be).
Thanks!