Fix katz centrality doctest formatting
Merge pull request #877 from hagberg/katz-test

Fix katz centrality doctest formatting