Fix view range array to include most recent (facepalm)
							parent
							
								
									c9b19e8587
								
							
						
					
					
						commit
						f7ebade9b5
					
				| 
						 | 
					@ -1221,7 +1221,7 @@ class ChartPlotWidget(pg.PlotWidget):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # TODO: we could do it this way as well no?
 | 
					        # TODO: we could do it this way as well no?
 | 
				
			||||||
        # to_draw = array[lbar - ifirst:(rbar - ifirst) + 1]
 | 
					        # to_draw = array[lbar - ifirst:(rbar - ifirst) + 1]
 | 
				
			||||||
        in_view = array[lbar_i: rbar_i]
 | 
					        in_view = array[lbar_i: rbar_i + 1]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if not in_view.size:
 | 
					        if not in_view.size:
 | 
				
			||||||
            return graphics
 | 
					            return graphics
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue