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

legend outside the plot with subplots does not work #1052

Open gdementen opened 1 year ago

gdementen commented 1 year ago

For example, the code:

arr = ndtest((2, 3))
arr.plot(subplots='a', legend={'bbox_to_anchor': (1.25, 0.6)})

does not show the legend. This is probably a problem of layout constraint but I am unsure we can solve this in LArray.