We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b09b9a7 commit 60118aaCopy full SHA for 60118aa
plotpy/tools/curve.py
@@ -178,12 +178,12 @@ def set_labelfuncs(
178
179
def get_label_title(self) -> str | None:
180
"""Return label title"""
181
- curve = self.last_item_holder.get()
+ curve = self.last_item_holder.update_from_selection(self.manager.get_plot())
182
return curve.title().text() if curve else None
183
184
def get_computation_specs(self) -> list[tuple[CurveItem, str, Callable[..., Any]]]:
185
"""Return computation specs"""
186
187
return [(curve, label, func) for label, func in self.labelfuncs]
188
189
def update_status(self, plot: BasePlot) -> None:
0 commit comments