Skip to content

Commit

Permalink
Delete warning in approximation documentation (#6221)
Browse files Browse the repository at this point in the history
* Add warning in community doc

* Delete warning in approximation

* undo unwanted changes

* Minor formatting nits.

---------

Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
  • Loading branch information
paulitapb and rossbar committed Feb 3, 2023
1 parent 352a387 commit f2b337f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions networkx/algorithms/approximation/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
"""Approximations of graph properties and Heuristic methods for optimization.
.. warning:: These functions are not imported in the top-level of ``networkx``
The functions in this class are not imported into the top-level ``networkx``
namespace so the easiest way to use them is with::
These functions can be accessed using
``networkx.approximation.function_name``
>>> from networkx.algorithms import approximation
They can be imported using ``from networkx.algorithms import approximation``
or ``from networkx.algorithms.approximation import function_name``
Another option is to import the specific function with
``from networkx.algorithms.approximation import function_name``.
"""
from networkx.algorithms.approximation.clustering_coefficient import *
Expand Down

0 comments on commit f2b337f

Please sign in to comment.