def init():
    """
    一些初始化设置，主要是为了显示负号和中文
    :return:
    """
    import matplotlib.pyplot as plt
    import matplotlib as mpl
    mpl.rcParams['axes.unicode_minus'] = False
    plt.rcParams['font.sans-serif'] = ['SimHei']
    plt.rcParams['axes.unicode_minus'] = False
    from pandas.plotting import register_matplotlib_converters
    register_matplotlib_converters()
