thp / pyotherside

Python Bindings for Qt 5 and Qt 6. Allows you to access a CPython 3 interpreter directly from your Qt QML user interface code.
https://thp.io/2011/pyotherside/
Other
364 stars 49 forks source link

Crash when trying plotorama example #91

Closed Kenichiro-Yoshimi closed 6 years ago

Kenichiro-Yoshimi commented 6 years ago

When trying to run the plotorama example with qmlscene, a crash happens without any error message. If I skip the process of saving a figure, the crash is not caused, that is in plotorama.py, #plt.savefig(buf, format='png')

Any help would be highly appreciated.

Windows 10 Python 3.5.2 |Anaconda 4.2.0 (64-bit) [MSC v.1900 64 bit (AMD64)] Qt: 5.10.0

thp commented 6 years ago

Do you have matplotlib for the Python version you are using installed?

Kenichiro-Yoshimi commented 6 years ago

I am using a matplotlib 1.5.3 package.

Kenichiro-Yoshimi commented 6 years ago

I updated the version of matplotlib to 2.2.2, but it was still the same situation. So, I change to ActivePython 3.6 from Anaconda and it works well. Perhaps I am missing something very obvious with the Anaconda package, but I close this.

Thanks