Zepmanbc / creopyson

Python library for Creoson (http://www.creoson.com)
MIT License
60 stars 5 forks source link

Cannot set the location of a note #69

Closed jordifas closed 1 year ago

jordifas commented 1 year ago

Description

I cannot set the location of a note:

What I Did

creopyson.note.set_(c,nom_nou, value=texnota, location=ubicacio)
TypeError: set
() got an unexpected keyword argument 'location'

Zepmanbc commented 1 year ago

Hi,

I don't understand this error, there is the location argument You should use c.note_set(nom_nou, value=tex_nota, location=ubicacio) notation does ubicacio is a dict like {'x':50,'y':50} ? is there an error if you do not set location ?

jordifas commented 1 year ago

Sorry, I used version 0.7.4. I updated and it is solved.