Browse Source

#722 fix syntax error

Falko Schindler 2 years ago
parent
commit
c0c41aa90f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      nicegui/elements/line_plot.py

+ 1 - 1
nicegui/elements/line_plot.py

@@ -33,7 +33,7 @@ class LinePlot(Pyplot):
         self.push_counter = 0
 
     def with_legend(self, titles: List[str], **kwargs: Any):
-        self.fig.gca().legend(titles, **kwargs: Any)
+        self.fig.gca().legend(titles, **kwargs)
         self._convert_to_html()
         return self