Skip to content

Update tutorial.rst to stop using deprecated syntax for Graph.degree #312

@chrisfalter

Description

@chrisfalter
  • This issue is for the Python interface of igraph.
  • This issue is a bug report or a feature request, not a support question.

Summary: Update Graph.degree argument from deprecated syntax.

Was:
g.degree(type='in') and g.degree(type='out')

Becomes:
g.degree(mode='in') and g.degree(mode='out')

Note: I am submitting a pull request that fixes this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions