Commit ddb8f9cc authored by Sean Fitzgibbon's avatar Sean Fitzgibbon
Browse files

Remove "closed" contour constraint

parent fb1c5fa2
......@@ -86,7 +86,8 @@ def register_chart_to_slide(
chart = util.Chart.from_neurolucida_ascii(chart)
outline = chart.get_contours(closed=True)
# outline = chart.get_contours(closed=True)
outline = chart.get_contours()
edge_crds = [x.points[:, :2] * [1, -1] for x in outline]
edge_crds_cat = np.concatenate(edge_crds)
......@@ -283,8 +284,8 @@ def register_chart_to_slide(
cmap = plt.get_cmap("tab10")
for idx, (name, coords, closed) in enumerate(contour_xfm):
if not closed:
continue
# if not closed:
# continue
plot_contour(ax[7], coords, name, color=cmap(idx))
plt.suptitle(f'{chart_name}\n{slide_name}')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment