code: def _refreshNodeFromTarget(self):
          
          for key, value in self.viewBox.state.items():
              if key != "limits":
                  childItem = self.childByNodeName(key)
                  childItem.data = value
              else:
                  # limits contains a dictionary as well
                  for limitKey, limitValue in value.items():
                      limitChildItem = self.limitsItem.childByNodeName(limitKey)
                      limitChildItem.data = limitValue
docs: Updates the config settings