3d plotting datetime, deg, deg

I’m sure this is a sadly newbie question. I have generated alt/az against time and want to 3d plot them. I keep getting data conversion type errors when I issue the ax.plot(time, alt, az) routine:

Traceback (most recent call last):
File “C:\Users\neilm\AppData\Local\Programs\Python\Python311\Lib\site-packages\astropy\units\quantity.py”, line 1658, in _to_own_unit
_value = value.to_value(unit)
AttributeError: ‘numpy.ndarray’ object has no attribute ‘to_value’

During handling of the above exception, another exception occurred:

Can someone point out what I’m not doing or doing wrong.

And I found my own answer. I just have to create a new array using the .value or .deg property and then the array is “plottable”.