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

Use a local random generator #36

Open
naslundx opened this issue Aug 21, 2024 · 0 comments · May be fixed by #38
Open

Use a local random generator #36

naslundx opened this issue Aug 21, 2024 · 0 comments · May be fixed by #38
Assignees

Comments

@naslundx
Copy link
Collaborator

After #35 we touch the (global) random state with the seed argument. If the user wanted to do that, they could just call random.seed themselves before calling make_word_cloud. If we instantiate our own random generator and only seed that one, then this argument only affects randomness within wrdcld, and nothing else in a user's library or script. They may want "true" randomness elsewhere but a handy way to get determinism from wrdcld.

@naslundx naslundx self-assigned this Aug 21, 2024
@naslundx naslundx linked a pull request Aug 23, 2024 that will close this issue
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 a pull request may close this issue.

1 participant