Fix katz centrality doctest formatting