Änderungen von bevor Monorepo übernommen
This commit is contained in:
		
							parent
							
								
									f4a927e125
								
							
						
					
					
						commit
						a03ce3d647
					
				@ -70,6 +70,8 @@ yRange = range(len(dates))
 | 
			
		||||
matrix = matrix.T
 | 
			
		||||
plt.imshow(matrix)
 | 
			
		||||
plt.yticks(yRange[::5], dates[::5])
 | 
			
		||||
plt.xlabel("Property ID")
 | 
			
		||||
plt.ylabel("Scrape Date")
 | 
			
		||||
 | 
			
		||||
# Create DiffMatrix
 | 
			
		||||
diffMatrix = np.zeros((len(matrix)-1, len(matrix[0])))
 | 
			
		||||
@ -78,6 +80,8 @@ for y in range(len(matrix[0])):
 | 
			
		||||
        diffMatrix[x][y] = abs(matrix[x][y] - matrix[x+1][y])
 | 
			
		||||
 | 
			
		||||
plt.figure()
 | 
			
		||||
plt.imshow(diffMatrix)
 | 
			
		||||
plt.imshow(diffMatrix, cmap="Reds")
 | 
			
		||||
plt.yticks(yRange[::5], dates[::5])
 | 
			
		||||
plt.xlabel("Property ID")
 | 
			
		||||
plt.ylabel("Scrape Date")
 | 
			
		||||
plt.show()
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user