diff --git a/graphs/gui/frame.py b/graphs/gui/frame.py index cc71be30f..2185ddaf2 100644 --- a/graphs/gui/frame.py +++ b/graphs/gui/frame.py @@ -346,7 +346,7 @@ class GraphFrame(AuxiliaryFrame): legendLines = [] for i, iData in enumerate(lineData): color, lineStyle, label = iData - legendLines.append(Line2D([0], [0], color=color, linestyle=lineStyle, label=label)) + legendLines.append(Line2D([0], [0], color=color, linestyle=lineStyle, label=label.replace('$', '\$'))) if len(legendLines) > 0 and self.ctrlPanel.showLegend: legend = self.subplot.legend(handles=legendLines)