Explorar el Código

#722 fix syntax error

Falko Schindler hace 2 años
padre
commit
c0c41aa90f
Se han modificado 1 ficheros con 1 adiciones y 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