With larger images, it can take some time to generate the heatmap.
now contains a terminal message to indicate this.
This commit is contained in:
		
							parent
							
								
									4fe916a23b
								
							
						
					
					
						commit
						6335c4b474
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -88,6 +88,7 @@ for i in range(len(points)):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
logging.debug(f'imageArray is {imageArray}')
 | 
					logging.debug(f'imageArray is {imageArray}')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					print('processed all points. generating heatmap.')
 | 
				
			||||||
heatMap = sns.heatmap(imageArray, center=(np.max(imageArray)+np.min(imageArray))/2, robust=True, square=True)
 | 
					heatMap = sns.heatmap(imageArray, center=(np.max(imageArray)+np.min(imageArray))/2, robust=True, square=True)
 | 
				
			||||||
heatMapFig = heatMap.get_figure()
 | 
					heatMapFig = heatMap.get_figure()
 | 
				
			||||||
heatMapFig.savefig(outFile)
 | 
					heatMapFig.savefig(outFile)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue