Hey,

Yeah, that behavior got deprecated out of Qt (it lives on QGraphicsItem) a
couple of years ago. To set independent x and y scales now, you have to use
a transform ala:

    setTransform(QtGui.QTransform.fromScale(x_scale, y_scale))

If the x and y are the same, you can instead use:

    setScale(xy_scale)

Cheers,
 - Martin

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/CAD_p8v37opSQK_Urmk0wj8hg3GZhsaayvmYEu07mkCvS4%2B2Bjg%40mail.gmail.com.

Reply via email to