Giter Club home page Giter Club logo

Comments (8)

rgerum avatar rgerum commented on May 18, 2024

which matplotlib version are you using? I guess it's a matplotlib version issue.

from pylustrator.

PhysXu avatar PhysXu commented on May 18, 2024

which matplotlib version are you using? I guess it's a matplotlib version issue.

Thanks very much for the reply.
The version of matplotlib is 3.4.3, please see below:
image
I have tried it in Jupyter_lab and Jupyter_notebook, the same error.

BTW, as I am new to Python, What can I do if I need to install a certain version of matplotlib?

from pylustrator.

rgerum avatar rgerum commented on May 18, 2024

you can use

pip install matplotlib==3.6.2

in the command line.

But I will have a look at see that I can fix it to work also with the older matplotlib version again.

from pylustrator.

PhysXu avatar PhysXu commented on May 18, 2024

you can use

pip install matplotlib==3.6.2

in the command line.

But I will have a look at see that I can fix it to work also with the older matplotlib version again.

Thanks for the reply.
I noted in the pylustrator website, it said that ** The package depends on:

numpy, matplotlib, pyqt5, qtpy, qtawesome, scikit-image, natsort**.
Could you tell me which version of those packages I need to install to support PyLustrator?
Thanks very much!

from pylustrator.

rgerum avatar rgerum commented on May 18, 2024

natsort = ">=2.0.0"
numpy = ">=1.0.3"
matplotlib = ">=2.0.2"
PyQt5 = ">=5.6"
qtawesome = ">=0.5.0"
scikit-image = ">=0.7.0"

this is what minimal versions should be supported. But apparently there is a problem with the support of older matplotlib versions. if you use matplotlib==3.6.2 it should work.

from pylustrator.

PhysXu avatar PhysXu commented on May 18, 2024

natsort = ">=2.0.0" numpy = ">=1.0.3" matplotlib = ">=2.0.2" PyQt5 = ">=5.6" qtawesome = ">=0.5.0" scikit-image = ">=0.7.0"

this is what minimal versions should be supported. But apparently there is a problem with the support of older matplotlib versions. if you use matplotlib==3.6.2 it should work.

Succeed after I updated my matplotlib!
Thanks very much for your help!

from pylustrator.

PhysXu avatar PhysXu commented on May 18, 2024

natsort = ">=2.0.0" numpy = ">=1.0.3" matplotlib = ">=2.0.2" PyQt5 = ">=5.6" qtawesome = ">=0.5.0" scikit-image = ">=0.7.0"

this is what minimal versions should be supported. But apparently there is a problem with the support of older matplotlib versions. if you use matplotlib==3.6.2 it should work.

I have an additional question:
As I used the JupyterLab, after I close the window of pylustrator, the cell was still running/stuck.
Please see below:
image

How to solve/avoid this?

from pylustrator.

rgerum avatar rgerum commented on May 18, 2024

I tried around a bit and I think if you remove the %matplotlib qt pylustrator opens and the cell finishes after pylustrator has been closed.

from pylustrator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.