Skip to content

Commit

Permalink
fix: rm nx dep
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsbck committed Dec 3, 2024
1 parent 40b2ba6 commit 7f4525a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 6 additions & 2 deletions jaxley/modules/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2118,9 +2118,13 @@ def vis(
"""
res = 100 if "resolution" not in kwargs else kwargs.pop("resolution")
if "comp" in type.lower():
return plot_comps(self, dims=dims, ax=ax, color=color, resolution=res, **kwargs)
return plot_comps(
self, dims=dims, ax=ax, color=color, resolution=res, **kwargs
)
if "morph" in type.lower():
return plot_morph(self, dims=dims, ax=ax, color=color, resolution=res, **kwargs)
return plot_morph(
self, dims=dims, ax=ax, color=color, resolution=res, **kwargs
)

assert not np.any(
[np.isnan(xyzr[:, dims]).all() for xyzr in self.xyzr]
Expand Down
1 change: 0 additions & 1 deletion jaxley/modules/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from warnings import warn

import jax.numpy as jnp
import networkx as nx
import numpy as np
import pandas as pd
from jax import vmap
Expand Down

0 comments on commit 7f4525a

Please sign in to comment.