code: def _secondary_max(self):
          
          return (
              self.secondary_range[1]
              if (self.secondary_range
                  and self.secondary_range[1] is not None) else
              (max(self._secondary_values) if self._secondary_values else None)
          )
docs: Getter for the maximum series value