update# Ruler.update(camera, canvas_size)[source]# Update the ruler. This must be called on every draw, right before rendering. Returns a dictionary with the following fields: “tick_step”: the calculated auto-tick-step. “tick_values”: the tick values that will be shown.