Beachball not being built

I run the following code to create a beachball.
testbeach.py (2.7 KB)
event.xml (77.2 KB)

However, I see the following error. Any clue?
Traceback (most recent call last): File "testbeach.py", line 81, in <module> beachball() File "testbeach.py", line 47, in beachball focal1 = beach([fm.moment_tensor.tensor.m_rr,fm.moment_tensor.tensor.m_tt,\ File "<decorator-gen-44>", line 2, in beach File "/usr/local/lib/python3.8/dist-packages/obspy/imaging/beachball.py", line 49, in mopad_fallback result = func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/obspy/imaging/beachball.py", line 153, in beach colors, p = plot_mt(t, n, p, size, File "/usr/local/lib/python3.8/dist-packages/obspy/imaging/beachball.py", line 601, in plot_mt collect.append(xy2patch(xp2[0:i], yp2[0:i], res, xy)) File "/usr/local/lib/python3.8/dist-packages/obspy/imaging/beachball.py", line 710, in xy2patch path = mplpath.Path(verts, codes) File "/usr/local/lib/python3.8/dist-packages/matplotlib/path.py", line 132, in __init__ cbook._check_shape((None, 2), vertices=vertices) File "/usr/local/lib/python3.8/dist-packages/matplotlib/cbook/__init__.py", line 2303, in _check_shape raise ValueError( ValueError: 'vertices' must be 2D with shape (M, 2). Your input has shape (0,).

It’s also seems that it didn’t fall back to the mopad wrapper.

It can also easily reproduced with:
beachball([1.35,-0.1235,-1.227,-0.3812,-0.03921,-0.3896])