larray-project / larray

N-dimensional labelled arrays in Python
https://larray.readthedocs.io/
GNU General Public License v3.0
8 stars 6 forks source link

.plot(x='label') is broken #969

Closed gdementen closed 2 years ago

gdementen commented 2 years ago

One of my cleanup or perf commits broke all .plot(arg='label'), because I changed the signature of _translate_axis_key and did not update the .plot method accordingly because it did use that when I created those commits and there is no automated test for them. #949 would have been useful in this case 😉.

x = axes._translate_axis_key(x)
AttributeError: 'tuple' object has no attribute 'axis'