line 828 in
d2 *= scale

propose change to 
d2 = d2 * scale

otherwise will fail to convert types when scale and d2 are not of the same 

for example 

d2 = np.array(1)
scale = np.array(1.0)

results in 
d2 *= scale
Traceback (most recent call last):
  Python Shell, prompt 16, line 1
TypeError: Cannot cast ufunc multiply output from dtype('float64') to 
dtype('int32') with casting rule 'same_kind'

d2 = d2 *scale 
works just fine

You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To view this discussion on the web visit
For more options, visit

Reply via email to