AttributeError: can't set attribute in Plot or @property for example
Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61518">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61518">No</a>
 Added:

@example.setter
def example(self, value):
    self.inputs, self.labels = value

so the @property of example looks like:

@property
def example(self):
  """Get and cache an example batch of `inputs, labels` for plotting."""
  result = getattr(self, '_example', None)
  if result is None:
    # No example batch was found, so get one from the `.train` dataset
    result = next(iter(self.train))
    # And cache it for next time
    self._example = result
  return result

@example.setter
def example(self, value):
    self.inputs, self.labels = value

### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

Yes

### Source

source

### TensorFlow version

tf 2.8

### Custom code

No

### OS platform and distribution

Windows

### Mobile device

na

### Python version

3.8

### Bazel version

na

### GCC/compiler version

?

### CUDA/cuDNN version

?

### GPU model and memory

colab notebook

### Current behavior?

I'm running this tensorflow example: 

https://github.com/tensorflow/docs/blob/master/site/en/tutorials/structured_data/time_series.ipynb

I wanted to add some additional models at the end and tried to create new data windows as done above.  I noticed the example already given, and my new code requires the following line to be run before the @property for "example" is created:

"  w2.example = example_inputs, example_labels  "

else you get a vague error  "AttributeError: can't set attribute " but it looks like this has a setter?
  
This line is found under "3. Plot" and if moved to a later section after the 

@property 
def example

under section 4 this error occurs. 



### Standalone code to reproduce the issue

```shell
Move:
w2.example = example_inputs, example_labels

to under section 4 which should be ok. Can't set error occurs.
```


### Relevant log output

```shell
AttributeError: can't set attribute
```
