Closed raybellwaves closed 6 years ago
Hi Ray,
The plotting routines are essentially the xarray plotting routines with some extra functions. You should therefore be able to use the subplot_kws
argument to change the projection:
ow.plot(subplot_kws=dict(projection='polar'))
The fact that the projection is automatically set in case of a faceted grid plot is a workaround for a bug in older xarray versions. See https://github.com/pydata/xarray/pull/1148.
Bas
I have some spectra data and I am putting it into an oceanwave object to create a 2d polar spectra plot. However doing
ow.plot()
gives a x-y contour instead of a polar contour. Is there a way can request a polar contour?It produces a polar plot when time and location are specified