Skip to content

Commit

Permalink
isort
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldeistler committed Dec 6, 2023
1 parent 5407e5f commit afae93f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion jaxley/modules/network.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import itertools
from copy import deepcopy
from typing import Callable, Dict, List, Optional, Tuple, Union
import matplotlib.pyplot as plt

import jax.numpy as jnp
import matplotlib.pyplot as plt
import networkx as nx
import numpy as np
import pandas as pd
Expand Down
3 changes: 2 additions & 1 deletion jaxley/utils/plot_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ def plot_morph(
counter_highlight_branches = 0
lines = []

fig, ax = plt.subplots(1, 1, figsize=figsize)
if fig is None or ax is None:
fig, ax = plt.subplots(1, 1, figsize=figsize)

for b in range(cell.total_nbranches):
if parents[b] > -1:
Expand Down

0 comments on commit afae93f

Please sign in to comment.