D
D
dimaQd2021-04-28 10:20:55
User interface
dimaQd, 2021-04-28 10:20:55

How to set the size of a figure in pixels in pyqt?

Hello!
I can't figure out how to make a figure's size in pixels in pyqt. I only figured out how to set xy and width with height: qp.drawEllipse(100, 100, 50, 50)
But instead of height and width in pixels, I would set the size.

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