Skip to content

Commit

Permalink
fix: rm networkx dep, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsbck committed Dec 3, 2024
1 parent 4ff8bb8 commit d714a5a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ net.record("i_IonotropicSynapse")
- Regression tests can be done locally by running `NEW_BASELINE=1 pytest -m regression` i.e. on `main` and then `pytest -m regression` on `feature`, which will produce a test report (printed to the console and saved to .txt).
- If a PR introduces new baseline tests or reduces runtimes, then a new baseline can be created by commenting "/update_regression_baselines" on the PR.

- refactor plotting (#539, @jnsbck).
- rm networkx dependency
- add `Network.arrange_in_layers`
- disentangle moving of cells and plotting in `Network.vis`. To get the same as `net.vis(layers=[3,3])`, one now has to do:
```python
net.arrange_in_layers([3,3])
net.vis()
```

# 0.5.0

### API changes
Expand Down
2 changes: 1 addition & 1 deletion jaxley/modules/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def vis(
Args:
detail: Either of [point, full]. `point` visualizes every neuron in the
network as a dot (and it uses `networkx` to obtain cell positions).
network as a dot.
`full` plots the full morphology of every neuron. It requires that
`compute_xyz()` has been run and allows for indivual neurons to be
moved with `.move()`.
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ keywords = ["neuroscience", "biophysics", "simulator", "jax"]
dependencies = [
"jax",
"matplotlib",
"networkx",
"numpy",
"pandas>=2.2.0",
"tridiax",
Expand Down

0 comments on commit d714a5a

Please sign in to comment.