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

Can't export html file #10

Open
AlanDuc opened this issue Aug 28, 2023 · 1 comment
Open

Can't export html file #10

AlanDuc opened this issue Aug 28, 2023 · 1 comment

Comments

@AlanDuc
Copy link

AlanDuc commented Aug 28, 2023

Hi, when I use gravis to export html file.
It seem failed.
Could you help me. Thanks
image

@AHU03
Copy link

AHU03 commented Jan 25, 2024

Had the same issue. Editing the file gravis/_internal/plotting/data_structures.py on line 122 from:

with open(filepath, 'w') as file_handle:

to:

with open(filepath, 'w', encoding='utf-8') as file_handle:

fixed it for me.

I also just noticed that there is a pull request that would fix this:
#4

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