Giter VIP home page Giter VIP logo

Comments (7)

stefanSchinkel avatar stefanSchinkel commented on July 17, 2024

Hi,

I can't replicate the error. I just tried again in it works just fine for me, indeed I just updated the image in the README using sample.json

Can you call the wrapper (runner.py) and paste the full error log if it fails again.

Stefan

from gantt.

stefanSchinkel avatar stefanSchinkel commented on July 17, 2024

Couldn't replicate.

from gantt.

SignMyPublicKey avatar SignMyPublicKey commented on July 17, 2024

Can confirm this error. Seems to me that there is a compatibility issue between Python2 and Python3.

Error found in method render(), in this line: self.barlist = plt.barh(self.yPos, self.durations...
By changing the type of self.durations to list (e.g. list(self.durations) this issue is solved.

Another error is found in method addMilestones(), in line: for key in self.milestones.iterkeys():, easy fix by changing it to for key in self.milestones.keys():

Works fine for me after that. Python3.6, Matplotlib 2.2.2

from gantt.

stefanSchinkel avatar stefanSchinkel commented on July 17, 2024

@SignMyPublicKey since it's working w/ for you already, could you issue a PR for that?

thx,
Stefan

from gantt.

SignMyPublicKey avatar SignMyPublicKey commented on July 17, 2024

Of course, you should've received one. Thanks for making my project work easier by the way!

from gantt.

stefanSchinkel avatar stefanSchinkel commented on July 17, 2024

@SignMyPublicKey glad to hear it's useful for you!

thx a lot,
Stefan

from gantt.

mjonyh avatar mjonyh commented on July 17, 2024

Thanks a lot @SignMyPublicKey

from gantt.

Related Issues (7)

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.