From 1aceb677db5665f854ccae25d4ecd57bc93c0233 Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Tue, 19 Mar 2024 17:29:45 +0100 Subject: [PATCH] fmt --- docs/snippets/all/scalar_multiple_plots.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/docs/snippets/all/scalar_multiple_plots.cpp b/docs/snippets/all/scalar_multiple_plots.cpp index 092f2408b714..48b962c6370e 100644 --- a/docs/snippets/all/scalar_multiple_plots.cpp +++ b/docs/snippets/all/scalar_multiple_plots.cpp @@ -15,14 +15,8 @@ int main() { // Set up plot styling: // They are logged static as they don't change over time and apply to all timelines. // Log two lines series under a shared root so that they show in the same plot by default. - rec.log_static( - "trig/sin", - rerun::SeriesLine().with_color({255, 0, 0}).with_name("sin(0.01t)") - ); - rec.log_static( - "trig/cos", - rerun::SeriesLine().with_color({0, 255, 0}).with_name("cos(0.01t)") - ); + rec.log_static("trig/sin", rerun::SeriesLine().with_color({255, 0, 0}).with_name("sin(0.01t)")); + rec.log_static("trig/cos", rerun::SeriesLine().with_color({0, 255, 0}).with_name("cos(0.01t)")); // Log scattered points under a different root so that they show in a different plot by default. rec.log_static("scatter/lcg", rerun::SeriesPoint());