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

Add fname to plot_network to specify output filename. #71

Merged
merged 2 commits into from
Jan 4, 2024

Conversation

larsgrobe
Copy link
Contributor

plot_network() is used to plot various types of networks. However, the name of the produced html-file was hard-coded to "citation.html". This change introduces a fname-parameter, that allows to specify other file-names. It defaults to "citation.html" to keep compability with previous versions.

plot_network() is used to plot various types of networks. However, the name of the produced html-file was hard-coded to "citation.html". This change introduces a fname-parameter, that allows to specify other file-names. It defaults to "citation.html" to keep compability with previous versions.
@stijnh
Copy link
Member

stijnh commented Jan 4, 2024

Thanks for your contribution!

Looks good to me. Great this is now configurable.

Although, a better name might be file_name instead of fname. I will change this before merging.

@stijnh stijnh merged commit 27919ae into NLeSC:master Jan 4, 2024
5 checks passed
@stijnh
Copy link
Member

stijnh commented Jan 4, 2024

Merged!

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.

2 participants