:mod:`thingz.thingz_display.Plot` ================================= .. py:module:: thingz.thingz_display.Plot .. autoapi-nested-parse:: Thingz Display Plot .. py:class:: Plot Use the LCD as a plot .. py:method:: show() -> None Show the plot .. py:method:: add_point(value: int | float) -> None Add a new point to the plot. :param int|float value: The position on the Y axis of new point .. py:method:: set_y_scale(min: int, max: int) -> None Set the scale of the plot :param int min: The min value of the Y axis :param int max: The max value of the Y axis .. py:method:: set_animate_function(func: Callable, interval: int) -> None Configure a function that will be called once every interval to add a point to the plot. The function must return the value of the new point :param Callable func: The function to call :param int interval: Time to wait between each function call, in seconds