Skip to content
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

node_fc keyword argument not recognized #153

Open
flyaflya opened this issue Aug 2, 2022 · 2 comments
Open

node_fc keyword argument not recognized #153

flyaflya opened this issue Aug 2, 2022 · 2 comments

Comments

@flyaflya
Copy link

flyaflya commented Aug 2, 2022

I might be missing something, but I am getting an error when trying to set a default face color for nodes:

pgm = daft.PGM(node_fc="w",dpi = 200)

yields the follow error:

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
[<ipython-input-23-d3c3ef75b5d7>](https://localhost:8080/#) in <module>()
----> 1 pgm = daft.PGM(node_fc="w",dpi = 200)

TypeError: __init__() got an unexpected keyword argument 'node_fc'

If I just run pgm = daft.PGM(dpi = 200), then it works.

@dfm
Copy link
Member

dfm commented Aug 2, 2022

Yeah - it looks like that argument was added since the last release. I should do a new release, but in the meantime you could use:

pip install -U git+https://github.com/daft-dev/daft.git

to install the GitHub version!

@flyaflya
Copy link
Author

flyaflya commented Aug 2, 2022

thx for the quick reply!!! I can confirm that your suggestion works perfectly. Thx again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants