Issue with ArrowItem's setStyle

15 views
Skip to first unread message

Bebop35

unread,
Dec 30, 2016, 5:01:29 PM12/30/16
to pyqtgraph
Hello all,

First, I'd like to thank the developpers for this wonderful library. That's really ideal for fast and live plotting!

I use the ArrowItem's class in a "dynamic" way (changing position & angle of 1 arrow), and I think I found a bug.

It seems that the setStyle() method of the ArrowItem class does not affect the actual arrow angle when the option is provided.
In fact, when looking at the source code, only the constructor uses it with the rotate() call.
As a matter of work-around, I used the setRotation() method from the base QGraphicsItem class.

Sorry if that was already reported!

Cheers,

Paul
Reply all
Reply to author
Forward
0 new messages