pynaviz.base_plot.PlotTsGroup.animate#
- PlotTsGroup.animate()#
Updates the positions of rulers and reference lines based on the current world coordinate bounds and triggers a re-render of the scene.
This method performs the following: - Computes the visible world coordinate bounds. - Updates the horizontal (x) and vertical (y) rulers accordingly. - Repositions the center time reference line in the scene. - Re-renders the scene using the current camera and canvas settings.
Notes
This method should be called whenever the visible region of the plot changes (e.g., after zooming, panning, or resizing the canvas).