html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/pull/5763#issuecomment-912724289,https://api.github.com/repos/pydata/xarray/issues/5763,912724289,IC_kwDOAMm_X842ZxFB,14371165,2021-09-03T18:19:02Z,2021-09-03T18:19:02Z,MEMBER,"What would you expect the plot to look like if you input a complex number or a multiindex along the x-axis?
I think I would expect it to be shown like a flattened array. And you can kind of get away with that if you cast the arrays to string before hand.
```python
x = 1j * np.arange(0, 5)
y = np.arange(5, 10)
plt.plot(x, y)
ComplexWarning: Casting complex values to real discards the imaginary part
return np.asarray(x, float)
```

```python
x = 1j * np.arange(0, 5)
y = np.arange(5, 10)
plt.plot(np.vectorize(str)(x), y)
```

```python
x = 1j + np.arange(0, 5)
y = np.arange(5, 10)
plt.plot(np.vectorize(str)(x), y)
```

```python
import pandas as pd
arrays = [[1, 1, 2, 2], ['red', 'blue', 'red', 'blue']]
a = pd.MultiIndex.from_arrays(arrays, names=('number', 'color')).to_numpy()
b = np.arange(4, 8)
plt.plot(np.vectorize(str)(a), b)
```

","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,987559143
https://github.com/pydata/xarray/pull/5763#issuecomment-912707634,https://api.github.com/repos/pydata/xarray/issues/5763,912707634,IC_kwDOAMm_X842ZtAy,2448579,2021-09-03T17:50:20Z,2021-09-03T17:50:20Z,MEMBER,"The error for multiindex plotting is not very informative ""setting array element with sequence"" so I would still keep `_ensure_plottable` to raise a nice error for that.
for the tests that now work, we should check that the output is reasonable, so I wouldn't delete them","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,987559143
https://github.com/pydata/xarray/pull/5763#issuecomment-912620738,https://api.github.com/repos/pydata/xarray/issues/5763,912620738,IC_kwDOAMm_X842ZXzC,2448579,2021-09-03T15:26:02Z,2021-09-03T15:26:02Z,MEMBER,"Thanks @dschwoerer This makes sense to me.
A lot of failed tests are checking for the raised error. We will need to update these to make sure the plotting worked.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,987559143