Skip to main content

All 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 ...
Seyed Omid Nabavi's user avatar
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 ...
Nathan G.'s user avatar
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 ...
Alex's user avatar
  • 514

close