Using plot_linecut, the along_axis keyword argument raises error
Code:
dc.plot_linecut(index=(0, 0, 0), col=0,along_axis=1)
Error:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-40-7039f664246d> in <module>
----> 1 dc.plot_linecut(index=(0, 0, 0), col=0,along_axis=1)
~/lib/datacube/datacube/datacube.py in plot_linecut(self, index, along_axis, col, ax)
401 elif along_axis == 1:
402 y = self.data[index[0],:,index[2],col]
--> 403 title = fmt % (self.axis[0].name, axis_val(index0,0))
404 title += ", " + fmt % (self.axis[2].name, axis_val(index2,2))
405 elif along_axis == 2:
NameError: name 'index0' is not defined