-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MatplotLibGallery Demo error: 'Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure' #13
Comments
Maybe add a pyqt5 component? |
I'd love a pull request introducing pyqt5. |
I'll go find a selection of handy modules to add to the collection as there are others that are obvious (keras springs to the top of the list but then so do more...) So far I've only built ones I'll actually use myself (or to fix a Issue for CV2_Contrib) |
Should have assigned to me - doing it now (want rembg + boto3 for personal uses) |
Crap - QT5 non MIT PyQt5 is dual licensed on all platforms under the Riverbank Commercial License and the GPL v3. Your PyQt5 license must be compatible with your Qt license. If you use the GPL version then your own code must also use a compatible license. Including (extremely short) readmes for new modules |
I just wrote the pyqt5 component and tested it with this demo - result was an assertion error This test was simply a case of dropping the component on the form and selecting the env. Examining the demo there's no setup, install or import so possibly something is going wrong at that stage See #15 |
#16 makes it work There is still an error on starting but I think this is just not having initialised QT5 or something. After the initial issue charts now plot Just add a PyQT5 component to your form and set it's environment as it's almost there. Can someone who knows how QT5 works suggest how to stop the startup junk pls? |
Throws an error when trying to draw
Solution:
pip install pyqt5
...then works ok
The text was updated successfully, but these errors were encountered: