problem when specifying the axis `ax` in plot_image
Code:
dc.plot_image(ax=1)
Error:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-36-6fc9d02a0477> in <module>
----> 1 dc.plot_image(ax=1)
~/lib/datacube/datacube/datacube.py in plot_image(self, ax, cmap)
452 if ax == None:
453 fig,ax = plt.subplots()
--> 454 im = ax.imshow(self.mtx.pmtx, extent=self.get_extent(),
455 norm=colors.PowerNorm(gamma=self.gamma),
456 aspect='auto',cmap=cmap, origin='lower')
AttributeError: 'int' object has no attribute 'imshow'