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

make_dot() #88

Open
changyunke opened this issue Jun 2, 2023 · 1 comment
Open

make_dot() #88

changyunke opened this issue Jun 2, 2023 · 1 comment
Labels
question Further information is requested

Comments

@changyunke
Copy link

dot = make_dot()
dot.render("dag")

Unable to display node Chinese name
how I can fix it?

thank you

@ikeuchi-screen
Copy link
Collaborator

It seems to be a problem with graphviz.
Similarly, Japanese label cannot be displayed in PDF, but can be displayed in SVG.

dot = make_dot(model.adjacency_matrix_, labels=['変数1', '変数2', '変数3'])
dot.format = 'svg'
dot.render('test')

@ikeuchi-screen ikeuchi-screen added the question Further information is requested label Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants