diff --git a/light-wave.py b/light-wave.py index 0a366eb..9e38e6c 100644 --- a/light-wave.py +++ b/light-wave.py @@ -9,7 +9,7 @@ session = requests.Session() # Parameters x_length = 600 # No. of readings show at one time. -y_range = [-100, 100] # Light reading range. +y_range = [-80, 65] # Light reading range. # Figure/Graph Details fig = plt.figure() @@ -22,8 +22,7 @@ line2, = ax.plot(ys2, label='factory2') plt.title("Light Meter Readings in Ritherdon") plt.xlabel("<--- Oldest (Time) Latest --->") plt.ylabel("Light") -plt.legend() -plt.subplots_adjust(bottom=0.20) +plt.legend(loc='lower left') ax.set_xticklabels(())