First of all, a big thank you to José Luis García Pallero for his work.
I only wanted two panels in the Balance Potencia graph, because my power sensor only sends data on left/right distribution and smoothness, in addition to watts and cadence.
So I modified the panel assignment line as follows:
paneles = (“balance”, “fluidez”)
This generated errors because some of the variables used later were not created.
So I added these initializations at the beginning of the script
#-----------------------
##added by JJB to reduce the number of panels
xrefg = 0
yrefg = 0
xrefe = 0
yrefe = 0
xrefb = 0
yrefb = 0
xreff = 0
yreff = 0
##End of adjustments added by JJB to reduce the number of panels
#-----------------------