A
A
Andrey_Kanaev2021-12-21 01:35:44
Python
Andrey_Kanaev, 2021-12-21 01:35:44

How to get x-axis value on scene click in PyQtGraph?

self.ui.win.scene().sigMouseClicked.connect(self.clickHandler)

Gives the coordinates of the mouse on the scene in pixels, and I need to get the coordinates that are indicated on the axes.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question