def bar(self, *args, **kwargs):
    """ Make a bar plot

    Wraps matplotlib bar()
    See plot documentation in matplotlib for accepted keyword arguments.
    """
    if len(self.dims) > 1:
        raise NotImplementedError("plot can only be called up to one-dimensional array.")
    return self._plot1D('bar',*args, **kwargs)