Skip to content

Portability #1

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Portability #1

wants to merge 4 commits into from

Conversation

amosonn
Copy link

@amosonn amosonn commented Oct 30, 2023

Made a few modifications which allow using this tool in a more portable way:

  • Allow custom font names: "Arial" only works on windows
  • Added "inner" function do_draw, which lets us handle the image in a custom way (e.g., displaying in a jupyter notebook)
  • Add parameter disabling prints from algorithm functions, to allow running them in a larger loop

Also fixed a bug in TGF writing, where the newlines were written to stdout and not to the file

@amosonn amosonn force-pushed the patch-1 branch 2 times, most recently from 833a294 to 31b5632 Compare October 30, 2023 17:27
@amosonn amosonn changed the title Allow custom font names Portability Oct 30, 2023
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

Successfully merging this pull request may close these issues.

1 participant