Skip to content

Commit

Permalink
fixed docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Schefflera-Arboricola committed Apr 23, 2024
1 parent db8cce3 commit df2f4eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ $ pip install git+https://github.com/networkx/nx-parallel.git@main
You can run your networkx code by just setting the `NETWORKX_AUTOMATIC_BACKENDS` environment variable to `parallel`:

```sh
$ export NETWORKX_AUTOMATIC_BACKENDS=parallel python nx_code.py
$ export NETWORKX_AUTOMATIC_BACKENDS=parallel && python nx_code.py
```

Note that for this to work all the networkx functions called in the `nx_code.py` should be dispatchable and have a parallel implementation in nx-parallel otherwise you'll get the appropriate error message(s). You can also use the nx-paralel backend in your code for only some specific function calls in following ways:
Note that for all functions inside `nx_code.py` that do not have an nx-parallel implementation their original networkx implementation will be executed. You can also use the nx-parallel backend in your code for only some specific function calls in the following ways:

```.py
import networkx as nx
Expand Down

0 comments on commit df2f4eb

Please sign in to comment.