Skip to content

Commit

Permalink
Kmeans plotting cell border fix (#978)
Browse files Browse the repository at this point in the history
* don't assign random color to boundary pts

* nearest -> none
  • Loading branch information
camisowers authored Apr 25, 2023
1 parent 675a7e1 commit ca79858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ark/utils/plot_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def plot_neighborhood_cluster_result(img_xr, fovs, k, save_dir=None, cmap_name='

# show the image on the figure
im = plt.imshow(img_xr[img_xr[fov_col] == fov].values.squeeze(),
cmap=cmap, norm=norm)
cmap=cmap, norm=norm, interpolation='none')

# remove the axes
plt.axis('off')
Expand Down

0 comments on commit ca79858

Please sign in to comment.