Check duplicate issues.
Description
When running RooPolyVar().x(), the proxy has a default name of "x" despite different variable name.
Reproducer
import ROOT
y = ROOT.RooRealVar("y", "y", 1, -5, 5)
a = ROOT.RooRealVar("a", "a", 2, -5, 5)
b = ROOT.RooRealVar("b", "b", 3, -5, 5)
func = ROOT.RooPolyVar("myFunc", "myFunc", y, [a, b])
func.Print("t")
print("Function Variable:", func.x().GetName())
ROOT version
6.37.01
Installation method
build from source
Operating system
ArchLinux
Additional context
No response