def get_figsize(df, x, hue):
    """Attempt to get a reasonable figure size."""
    num_x = len(df[x].unique())
    num_hue = len(df[hue].unique())
    width_per_vplot = 0.3
    width_per_tick = width_per_vplot * num_hue
    width = num_x*width_per_tick + 2  # Extra space for axes/etc.
    # Just using default value for y for now.
    return width, 4.8