better colors for temperature
This commit is contained in:
parent
f5499c144b
commit
92ee55b6fd
@ -89,13 +89,12 @@ class OutputHandler():
|
|||||||
face1 = hour + day
|
face1 = hour + day
|
||||||
face1_3d = self.matrix_add_depth(face1)
|
face1_3d = self.matrix_add_depth(face1)
|
||||||
|
|
||||||
print(weather)
|
|
||||||
if weather["show"] == "weather":
|
if weather["show"] == "weather":
|
||||||
face2_3d = converter.weather_converter(weather["weather"])
|
face2_3d = converter.weather_converter(weather["weather"])
|
||||||
else:
|
else:
|
||||||
face2 = converter.time_converter(int(weather["low"]+weather["high"]))
|
face2 = converter.time_converter(int(weather["low"]+weather["high"]))
|
||||||
face2 = np.concatenate((face2[:8,...],2*face2[8:,...]))
|
face2 = np.concatenate((face2[:8,...],2*face2[8:,...]))
|
||||||
face2_3d = self.matrix_add_depth(face2,[[10,10,200],[200,10,10]])
|
face2_3d = self.matrix_add_depth(face2,[[100,100,10],[200,10,10]])
|
||||||
|
|
||||||
face = np.zeros((max(face1_3d.shape[0],face2_3d.shape[0]),face1_3d.shape[1]+face2_3d.shape[1],3))
|
face = np.zeros((max(face1_3d.shape[0],face2_3d.shape[0]),face1_3d.shape[1]+face2_3d.shape[1],3))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user