Skip to content
Snippets Groups Projects
Commit 64e24afd authored by Fraser William Goldsworth's avatar Fraser William Goldsworth
Browse files

pyicon plots now return axes and other plot data when accessed using the...

pyicon plots now return axes and other plot data when accessed using the pyicon xarray accessor. This behaviour is more consistent with xarray's plotting functions and the pyicon plotting functions
parent dc851aa4
No related branches found
No related tags found
No related merge requests found
......@@ -16,15 +16,16 @@ class pyiconDataArray:
self._gname = pyic.identify_grid(self.path_grid, self._obj)
return self._gname
def plot(self, **kwargs):
da = self._obj
pyic.plot(da, **kwargs)
return
hm = pyic.plot(da, **kwargs)
return hm
def plot_sec(self, **kwargs):
da = self._obj
pyic.plot_sec(da, **kwargs)
return
hm = pyic.plot_sec(da, **kwargs)
return hm
def interp(self, **kwargs):
da = self._obj
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment