-
There's push method in https://nicegui.io/reference#line_plot. However, I would like to do the same with https://nicegui.io/reference#pyplot_context to do more than just 1d plotting. How to do that with pyplot? Btw, the example is out-of-date. ui.pyplot has been replaced by ui.plot. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
-
I think it's the other way around. Since the introduction of Plotly-Support we deprecated |
Beta Was this translation helpful? Give feedback.
ui.line_plot
is an handy inherit ofui.pyplot
. I suggest you copy the code from https://github.com/zauberzeug/nicegui/blob/main/nicegui/elements/line_plot.py into your own project. Then you can modify it to your needs.