From 4cf09dc362036e22eaa687cd2566fabb6c8ed693 Mon Sep 17 00:00:00 2001 From: Jonas Hahnfeld Date: Tue, 25 Jun 2024 13:07:41 +0200 Subject: [PATCH] Fix variable name in tutorials/graphs/scatter.C --- tutorials/graphs/scatter.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/graphs/scatter.C b/tutorials/graphs/scatter.C index 1fd184587f764..9098b21c22df6 100644 --- a/tutorials/graphs/scatter.C +++ b/tutorials/graphs/scatter.C @@ -36,7 +36,7 @@ void scatter() // The next snippet is only needed if you want to change the colorbar title canvas->Modified(); canvas->Update(); - TPaletteAxis *palette = (TPaletteAxis*)scat->GetGraph()->GetListOfFunctions()->FindObject("palette"); + TPaletteAxis *palette = (TPaletteAxis*)scatter->GetGraph()->GetListOfFunctions()->FindObject("palette"); palette->SetX1NDC(0.86); palette->SetX2NDC(0.90); palette->SetTitle("Palette Title");