365d54c7eadcad1d9ff065299f75da7ca5f80d28,lib/matplotlib/tests/test_axes.py,,test_symlog2,#,1082

Before Change


    // Numbers from -50 to 50, with 0.1 as step
    x = np.arange(-50, 50, 0.001)

    fig = plt.figure()
    ax = fig.add_subplot(511)
    // Plots a simple linear function "f(x) = x"
    ax.plot(x, x)
    ax.set_xscale("symlog", linthreshx=20.0)
    ax.grid(True)

    ax = fig.add_subplot(512)
    // Plots a simple linear function "f(x) = x"
    ax.plot(x, x)
    ax.set_xscale("symlog", linthreshx=2.0)
    ax.grid(True)

After Change


    x = np.arange(-50, 50, 0.001)

    fig, axs = plt.subplots(5, 1)
    for ax, linthreshx in zip(axs, [20., 2., 1., 0.1, 0.01]):
        ax.plot(x, x)
        ax.set_xscale("symlog", linthreshx=linthreshx)
        ax.grid(True)
    axs[-1].set_ylim(-0.1, 0.1)


def test_pcolorargs_5205():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: matplotlib/matplotlib
Commit Name: 365d54c7eadcad1d9ff065299f75da7ca5f80d28
Time: 2018-07-05
Author: 2836374+timhoffm@users.noreply.github.com
File Name: lib/matplotlib/tests/test_axes.py
Class Name:
Method Name: test_symlog2


Project Name: matplotlib/matplotlib
Commit Name: 98ab2a07920610dae862d95363243572a84ea2c7
Time: 2020-06-16
Author: tcaswell@gmail.com
File Name: lib/matplotlib/tests/test_patches.py
Class Name:
Method Name: test_large_arc


Project Name: matplotlib/matplotlib
Commit Name: d67550cee52588a9ff3cff49fbc45b0d878bca9a
Time: 2020-06-16
Author: tcaswell@gmail.com
File Name: lib/matplotlib/tests/test_patches.py
Class Name:
Method Name: test_large_arc


Project Name: scipy/scipy
Commit Name: 291c93ed820d042c35c8e544fc06868381439245
Time: 2014-06-29
Author: cairj3@mail2.sysu.edu.cn
File Name: scipy/cluster/tests/test_hierarchy.py
Class Name: TestDendrogram
Method Name: test_dendrogram_plot