Skip to content

Commit 6c0f39c

Browse files
authored
Remove unused matplotlib import
Removed unused import for matplotlib.pyplot.
1 parent b9620f2 commit 6c0f39c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/resources/script_templates/PyImageJ/CellposeStarDistSegmentation.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import sys
2525
import imagej.convert as convert
2626
import numpy as np
27-
import matplotlib.pyplot as plt
2827
from cellpose import models
2928
from csbdeep.utils import normalize
3029
from stardist.models import StarDist2D
@@ -137,4 +136,4 @@ def get_bounding_box(indices: np.ndarray):
137136

138137
#TODO this pops an unnecessary display at the end but if I don't make it the last line the ROIs don't show
139138
rm.moveRoisToOverlay(imp)
140-
rm.runCommand(imp, "Show All")
139+
rm.runCommand(imp, "Show All")

0 commit comments

Comments
 (0)