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

False Arguments in doc string of save graph #234

Closed
leonardthomson opened this issue Mar 10, 2023 · 1 comment · Fixed by #235
Closed

False Arguments in doc string of save graph #234

leonardthomson opened this issue Mar 10, 2023 · 1 comment · Fixed by #235
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@leonardthomson
Copy link

In the docstring you can find an additional input g that doesn't exist in the definition of the function:

savegraph(file, g, d, format=LGFormat)

vs.

function savegraph(
fn::AbstractString, d::Dict{T,U}, format::AbstractGraphFormat; compress=nothing
) where {T<:AbstractString} where {U<:AbstractGraph}

No big mistake, but little confusing and easy to fix.
Thank you!

@aurorarossi
Copy link
Member

Thank you for pointing that out!

@aurorarossi aurorarossi self-assigned this Mar 10, 2023
@aurorarossi aurorarossi added the documentation Improvements or additions to documentation label Mar 12, 2023
@gdalle gdalle linked a pull request May 1, 2023 that will close this issue
gdalle pushed a commit that referenced this issue May 1, 2023
* Remove g

* Improve docstring

* Remove default format from signature

* Add example

* FIx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants