Skip to content

Commit 4be12f5

Browse files
committed
Cleanup
1 parent 54152b0 commit 4be12f5

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

CP5/active_plugins/HelloWorld.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
#################################
2-
#
3-
# Imports from useful Python libraries
4-
#
5-
#################################
6-
71
import matplotlib.pyplot as plt
82
from matplotlib import patheffects
93
import numpy as np
104

11-
#################################
12-
#
13-
# Imports from CellProfiler
14-
#
15-
##################################
16-
175
import cellprofiler_core.module
186
import cellprofiler_core.setting.text
197

@@ -41,7 +29,6 @@
4129

4230
class HelloWorld(cellprofiler_core.module.ImageProcessing):
4331
module_name = "HelloWorld"
44-
category = "Info"
4532

4633
variable_revision_number = 1
4734

@@ -53,9 +40,6 @@ def create_settings(self):
5340
def settings(self):
5441
return super().settings() + [self.overlay_text]
5542

56-
def visible_settings(self):
57-
return super().visible_settings() + [self.overlay_text]
58-
5943
def run(self, workspace):
6044
self.function = self.place_text_on_image
6145
super().run(workspace)
@@ -88,4 +72,3 @@ def place_text_on_image(self,
8872
annotated_img = np.asarray(fig.canvas.renderer.buffer_rgba())
8973
plt.close(fig)
9074
return annotated_img
91-

0 commit comments

Comments
 (0)