"pw.plotItem.titleLabel.text" is the answer I am looking for. Thanks a lot
:)

On Mon, Oct 3, 2022 at 12:00 AM Martin Chase <[email protected]> wrote:

> Ah, yeah, `pw.plotItem.titleLabel.text` should have that value (though it
> shouldn't hurt to set the title multiple times to the same string). This
> should work well enough, but I worry that a title string is a poor piece of
> data on which to hang application logic. If you're trying to test for e.g.
> `isinstance(pw, MultiPlotWidget)`, something more explicit about that test
> might be a better choice.
>
> 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_p8v1mXQR6TuO-HR2SKYd0_bn_%3DC6pUs-HWMMgUv3c7yQ_UQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/pyqtgraph/CAD_p8v1mXQR6TuO-HR2SKYd0_bn_%3DC6pUs-HWMMgUv3c7yQ_UQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAJOxFOmBJ6OFPSV3hBPKqCBYL%2BgPLZ6riSiYKBFQCJGaP3KeGg%40mail.gmail.com.

Reply via email to