Skip to content

Commit 423ca4d

Browse files
committed
clearer comment
1 parent 0f4197e commit 423ca4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

omc3_gui/plotting/tfs_plotter.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ def plot_errorbar(
135135
errorbarPen = pg.mkPen(color=color, width=linewidth, style=PenStyle.SolidLine)
136136

137137
# convert everything to numpy, as this is what pyqtgraph expects.
138-
# pd.Series seems to also work for now, but will in the future
139-
# need .iloc to work with indices
140-
# (pyqtgraph and create_tooltips accesses items that way, for now at least).
138+
# pd.Series seems to also work for now, but raises deprecation warnings,
139+
# as in the future it needs .iloc to work with indices,
140+
# yet pyqtgraph and create_tooltips access items via `[ ]` (for now at least).
141141
x = safe_convert_to_numpy(x)
142142
y = safe_convert_to_numpy(y)
143143
xerr = safe_convert_to_numpy(xerr)

0 commit comments

Comments
 (0)