示例#1
0
def test_time_markers():
    return tstoolbox.plot(type='time',
                          columns=[2, 3],
                          linestyles=' ',
                          markerstyles='auto',
                          input_ts='tests/data_daily_sample.csv',
                          ofilename=None)
示例#2
0
def test_double_mass_marker():
    return tstoolbox.plot(type='double_mass',
                          columns=[2, 3, 3, 2],
                          linestyles=' ',
                          markerstyles='auto',
                          input_ts='tests/data_daily_sample.csv',
                          ofilename=None)
示例#3
0
def test_lag_plot():
    plt.close("all")
    return tstoolbox.plot(columns=1,
                          type="lag_plot",
                          input_ts=df,
                          ofilename=None,
                          plot_styles="classic")
示例#4
0
def test_time_multiple_traces_new_style_plot():
    return tstoolbox.plot(type='time',
                          columns=[2,3],
                          markerstyles=' ,*',
                          linestyles='-, ',
                          input_ts='tests/data_daily_sample.csv',
                          ofilename=None)
示例#5
0
def test_xy_multiple_traces_markers():
    return tstoolbox.plot(type='xy',
                          columns=[2,3,3,2],
                          linestyles=' ',
                          markerstyles='auto',
                          input_ts='tests/data_daily_sample.csv',
                          ofilename=None)
示例#6
0
def test_histogram():
    plt.close("all")
    return tstoolbox.plot(
        type="histogram",
        clean=True,
        input_ts="tests/02234500_65_65.csv",
        ofilename=None,
    )
示例#7
0
def test_xy_multiple_traces():
    plt.close("all")
    return tstoolbox.plot(
        type="xy",
        columns=[2, 3, 3, 2],
        input_ts="tests/data_daily_sample.csv",
        ofilename=None,
    )
示例#8
0
def test_double_mass():
    plt.close("all")
    return tstoolbox.plot(
        type="double_mass",
        clean=True,
        input_ts="tests/02234500_65_65.csv",
        ofilename=None,
    )
示例#9
0
def test_double_mass_mult():
    plt.close("all")
    return tstoolbox.plot(
        type="double_mass",
        columns=[2, 3, 3, 2],
        input_ts="tests/data_daily_sample.csv",
        ofilename=None,
    )
示例#10
0
def test_scatter_matrix():
    plt.close("all")
    return tstoolbox.plot(
        type="scatter_matrix",
        clean=True,
        input_ts="tests/02234500_65_65.csv",
        ofilename=None,
    )
示例#11
0
def test_probability_density():
    plt.close("all")
    return tstoolbox.plot(
        type="probability_density",
        clean=True,
        input_ts="tests/02234500_65_65.csv",
        ofilename=None,
    )
示例#12
0
def test_weibull_yaxis():
    plt.close("all")
    return tstoolbox.plot(
        type="weibull_yaxis",
        columns=2,
        clean=True,
        input_ts="tests/02234500_65_65.csv",
        ofilename=None,
    )
示例#13
0
def test_xy():
    plt.close("all")
    return tstoolbox.plot(
        type="xy",
        clean=True,
        input_ts="tests/02234500_65_65.csv",
        ofilename=None,
        plot_styles="classic",
    )
示例#14
0
def test_time_plot():
    plt.close("all")
    return tstoolbox.plot(
        type="time",
        columns=1,
        clean=True,
        input_ts="tests/02234500_65_65.csv",
        ofilename=None,
    )
示例#15
0
def test_autocorrelation():
    plt.close("all")
    return tstoolbox.plot(
        type="autocorrelation",
        columns=2,
        input_ts=df,
        ofilename=None,
        plot_styles="classic",
    )
示例#16
0
def test_time_multiple_traces_plot():
    plt.close("all")
    return tstoolbox.plot(
        type="time",
        columns=[2, 3],
        style="b-,r*",
        input_ts="tests/data_daily_sample.csv",
        ofilename=None,
    )
示例#17
0
def test_kde_time_multiple_traces():
    ndf = tstoolbox.read(['tests/daily.csv',
                          'tests/02325000_flow.csv'])
    return tstoolbox.plot(type='kde_time',
                          columns=[2, 3],
                          clean=True,
                          input_ts=ndf,
                          ytitle='Flow',
                          ofilename=None)
示例#18
0
def test_heatmap():
    plt.close("all")
    return tstoolbox.plot(
        type="heatmap",
        columns=2,
        clean=True,
        input_ts=df,
        ofilename=None,
        plot_styles="classic",
    )
示例#19
0
def test_lognorm_yaxis():
    plt.close("all")
    return tstoolbox.plot(
        type="lognorm_yaxis",
        columns=2,
        clean=True,
        input_ts="tests/02234500_65_65.csv",
        ofilename=None,
        plot_styles="classic",
    )
示例#20
0
def test_time_multiple_traces_new_style_plot():
    plt.close("all")
    return tstoolbox.plot(
        type="time",
        columns=[2, 3],
        markerstyles=" ,*",
        linestyles="-, ",
        input_ts="tests/data_daily_sample.csv",
        ofilename=None,
    )
示例#21
0
def test_double_mass_marker():
    plt.close("all")
    return tstoolbox.plot(
        type="double_mass",
        columns=[2, 3, 3, 2],
        linestyles=" ",
        markerstyles="auto",
        input_ts="tests/data_daily_sample.csv",
        ofilename=None,
    )
示例#22
0
def test_boxplot():
    ndf = tstoolbox.read(['tests/02234500_65_65.csv',
                          'tests/02325000_flow.csv'],
                         clean=True,
                         append='combine')
    return tstoolbox.plot(input_ts=ndf,
                          clean=True,
                          columns=[2, 3],
                          type='boxplot',
                          ofilename=None)
示例#23
0
def test_xy_multiple_traces_logx():
    plt.close("all")
    return tstoolbox.plot(
        type="xy",
        columns=[2, 3, 3, 2],
        xaxis="log",
        input_ts="tests/data_daily_sample.csv",
        ofilename=None,
        plot_styles="classic",
    )
示例#24
0
def test_histogram():
    plt.close("all")
    return tstoolbox.plot(
        type="histogram",
        clean=True,
        input_ts="tests/02234500_65_65.csv",
        ofilename=None,
        sharex=False,
        plot_styles="classic",
    )
示例#25
0
def test_kde_time_multiple_traces():
    plt.close("all")
    ndf = tstoolbox.read(["tests/daily.csv", "tests/02325000_flow.csv"])
    return tstoolbox.plot(
        type="kde_time",
        columns=[2, 3],
        clean=True,
        input_ts=ndf,
        ytitle="Flow",
        ofilename=None,
    )
示例#26
0
def test_time_markers():
    plt.close("all")
    return tstoolbox.plot(
        type="time",
        columns=[2, 3],
        linestyles=" ",
        markerstyles="auto",
        input_ts="tests/data_daily_sample.csv",
        ofilename=None,
        plot_styles="classic",
    )
示例#27
0
def test_boxplot():
    plt.close("all")
    xdf = tstoolbox.read(
        ["tests/02234500_65_65.csv", "tests/02325000_flow.csv"],
        clean=True,
        append="combine",
    )
    return tstoolbox.plot(input_ts=xdf,
                          clean=True,
                          columns=[2, 3],
                          type="boxplot",
                          ofilename=None)
示例#28
0
def test_autocorrelation():
    return tstoolbox.plot(type='autocorrelation',
                          columns=2,
                          input_ts=df,
                          ofilename=None)
示例#29
0
def test_double_mass_mult():
    return tstoolbox.plot(type='double_mass',
                          columns=[2,3,3,2],
                          input_ts='tests/data_daily_sample.csv',
                          ofilename=None)
示例#30
0
def test_time_multiple_traces_style_plot():
    return tstoolbox.plot(type='time',
                          columns=[2,3],
                          style='b-,r  ',
                          input_ts='tests/data_daily_sample.csv',
                          ofilename=None)
示例#31
0
def test_weibull_yaxis():
    return tstoolbox.plot(type='weibull_yaxis',
                          columns=2,
                          clean=True,
                          input_ts='tests/02234500_65_65.csv',
                          ofilename=None)
示例#32
0
def test_scatter_matrix():
    return tstoolbox.plot(type='scatter_matrix',
                          clean=True,
                          input_ts='tests/02234500_65_65.csv',
                          ofilename=None)
示例#33
0
def test_barh_stacked():
    return tstoolbox.plot(type='barh_stacked',
                          input_ts=dfa,
                          ofilename=None)
示例#34
0
def test_barh_stacked():
    plt.close("all")
    return tstoolbox.plot(type="barh_stacked", input_ts=dfa, ofilename=None)
示例#35
0
def test_probability_density():
    return tstoolbox.plot(type='probability_density',
                          clean=True,
                          input_ts='tests/02234500_65_65.csv',
                          ofilename=None)
示例#36
0
def test_bar_stacked():
    plt.close("all")
    return tstoolbox.plot(type="bar_stacked",
                          input_ts=dfa,
                          plot_styles="classic",
                          ofilename=None)
示例#37
0
def test_bar():
    return tstoolbox.plot(type='bar',
                          input_ts=dfa,
                          ofilename=None)
示例#38
0
def test_heatmap():
    return tstoolbox.plot(type='heatmap',
                          columns=2,
                          clean=True,
                          input_ts=df,
                          ofilename=None)
示例#39
0
def test_xy():
    return tstoolbox.plot(type='xy',
                          clean=True,
                          input_ts='tests/02234500_65_65.csv',
                          ofilename=None)
示例#40
0
def test_xy_multiple_traces_logx():
    return tstoolbox.plot(type='xy',
                          columns=[2,3,3,2],
                          xaxis='log',
                          input_ts='tests/data_daily_sample.csv',
                          ofilename=None)
示例#41
0
def test_lag_plot():
    return tstoolbox.plot(columns=1,
                          type='lag_plot',
                          input_ts=df,
                          ofilename=None)
示例#42
0
def test_kde_time():
    return tstoolbox.plot(type='kde_time',
                          columns=2,
                          clean=True,
                          input_ts='tests/02234500_65_65.csv',
                          ofilename=None)
示例#43
0
def test_double_mass():
    return tstoolbox.plot(type='double_mass',
                          clean=True,
                          input_ts='tests/02234500_65_65.csv',
                          ofilename=None)