Skip to content

Commit

Permalink
Fix changed line in histogram function
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekLogan committed Apr 2, 2021
1 parent 26433f4 commit 34077ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngauge/Neuron.py
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ def path_angle_x_branch_order(self, bins=20):
angles.append(ms.angle(i, i.parent, i.children[0]))
orders.append(len(i.children))
p.append(i.children[0])
return np.histogram2d( angles, orders, bins=bins, range=[[0, 180], [0, max(orders)] )
return np.histogram2d( angles, orders, bins=bins, range=[[0, 180], [0, max(orders)]] )

def path_angle_x_path_distance(self, bins=20):
"""Creates a 2D histogram of path angles as a function of path distances to the soma in microns
Expand Down

0 comments on commit 34077ea

Please sign in to comment.