All Questions
3 questions
1vote
1answer
673views
How to control the order of facet gird rows and/or columns in xarray?
I am trying to change the order of variables I use to make a facet grid in xarray. For example, I have [a,b,c,d] as column names. I want to reorder it to [c,d,a,b]. Unfortunately, unlike seaborn, I ...
0votes
1answer
1kviews
Move the legend for xarray plot lines in python
I'm using xarray in python to plot a DataArray with several panels containing each of them plotting several lines (hue). By default, the location of the legend is set on the right of the panels. I'm ...
1vote
1answer
667views
Adding lineplot to facetgrid in xarray
I have a 2 dimensional time series plotted as FacetGrid via xarray. p = gmt.plot.line(x='time', add_legend=False, alpha = 0.1, color = ('k'), ylim = (-1, 1.2), col='MCrun', col_wrap = 5) I want to ...