Explorar o código

#722 fix syntax error

Falko Schindler %!s(int64=2) %!d(string=hai) anos
pai
achega
c0c41aa90f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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