Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
cwindolf committed Dec 12, 2024
1 parent 94eec6b commit f47d6f0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/dartsort/vis/analysis_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def annotated_dendro(
get_leaves=True,
no_plot=True,
)
dcoords = np.array(res['dcoord'])[:, 1]
dcoords = np.array(res["dcoord"])[:, 1]
depth_order = np.argsort(dcoords)

lines = np.zeros((len(Z), 4, 2))
Expand Down Expand Up @@ -281,11 +281,7 @@ def isi_hist(
alpha=1.0,
):
dt_ms = np.diff(times_s) * 1000
bin_edges = np.arange(
0,
max_ms + bin_ms,
bin_ms,
)
bin_edges = np.arange(0, max_ms + bin_ms, bin_ms)
# counts, _ = np.histogram(dt_ms, bin_edges)
# bin_centers = 0.5 * (bin_edges[1:] + bin_edges[:-1])
# axis.bar(bin_centers, counts)
Expand Down

0 comments on commit f47d6f0

Please sign in to comment.