def plotfred(data, title='tmp', maxi=87654321):
    """DEPRECATED: Plot data should be given as dataframe or fredcode."""
    msg = 'plotfred() DEPRECATED. Instead use get() and plot().'
    raise DeprecationWarning(msg)
