Skip to content

Commit 66be934

Browse files
committed
FIX: remove unnecessary code for removing artists
1 parent a4c0e88 commit 66be934

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pyxrf/model/lineplot.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1500,10 +1500,10 @@ def _show_preview_spectrum_plot(self):
15001500
self.prepare_preview_spectrum_plot()
15011501

15021502
# Remove all lines from the plot. This is not really needed, since the axes are cleared.
1503-
while len(self._lines_preview):
1504-
_ = self._lines_preview.pop()
1505-
if _.axes is not None:
1506-
_.remove()
1503+
# while len(self._lines_preview):
1504+
# _ = self._lines_preview.pop()
1505+
# if _.axes is not None:
1506+
# _.remove()
15071507

15081508
# The list of color names
15091509
color_names = get_color_name()

0 commit comments

Comments
 (0)