def show_graph(ticker):
    """
    Displays the graph based on ticker

    :param ticker: the ticker
    :return: two dicts setting visibility of graph and sentiment information
    """
    if not ticker:
        return {
            'display':'none'
        },{'display':'none'}
    else:
        return {
            'display':'block',
            'height':'450px'
        },{'display':'block'}