PySide6 compatibility
Hi highfestiva,,
I hope this message finds you well. I wanted to bring to your attention an issue I encountered while using the latest version of finplot with PySide6. Here's a brief overview:
Example: https://github.com/highfestiva/finplot/blob/master/finplot/examples/complicated.py
Error:
Traceback (most recent call last):
File "/home/dev/finplot/complicated.py", line 434, in
Operating System: Manjaro Python: 3.11.6 finplot: 1.9.4
Thank you for your time and for maintaining this awesome project! Let me know if you need any further information.
Best regards,
I have no idea how to fix this, since I don't use PySide myself. If you do, please post a pull request and I'll verify it.
Hi highfestiva,
Thank you for your prompt response.
I've thoroughly investigated the issue, attempting to identify an easy fix, but it appears to be more complex than anticipated. The challenge lies in attempting to add a non-QWidget object, specifically a FinWindow (pg.GraphicsLayoutWidget), to a QWidget.
I experimented with other examples, such as 'embed' and 'dockable,' and encountered the same problem consistently. What perplexes me is that these examples work seamlessly in PyQt6 but encounter issues in PySide6. Both PyQt6 and PySide6 are quite similar, particularly in their requirements for adding to QWidget.
My suspicion is that PyQt6 might be more lenient when checking the required types. I would appreciate any insights or suggestions you might have on resolving this issue.
Thank you once again for your assistance.
Best regards,
@BinanceMan hey! Did you finally solved this problem?