Dear Kwant community

I try to execute from conda-kwant the code for the Haldane model from course "Topology in Condensed Matter: Tying Quantum Knots" on my computer.

When executing the code appears the next issue: KwantDeprecationWarning: The 'args' parameter has been deprecated since version 1.4 -- Instead, provide named parameters as a dictionary via 'params'.

  mat = sys.hamiltonian_submatrix(args=[par])

I read kwant manual but the change from "args" to "params" modify the definition of others functions and appear other issues.
Maybe it is a silly question but I am stuck.

Thank you and I look forward to your answer.