c0ba943adc4290f9d9b341c473db629993f8c3d2,lifelines/plotting.py,,plot_lifetimes,#Any#Any#Any#Any#Any#Any#Any#Any#,436

Before Change


        ax.set_yticks(range(0, N))
        ax.set_yticklabels(durations.index)
    else:
        ax.set_yticks([])

    ax.set_xlim(0)
    ax.set_ylim(-0.5, N)

After Change


        ax.set_yticks(range(0, N))
        ax.set_yticklabels(durations.index)
    else:
        ax.yaxis.set_major_locator(MaxNLocator(integer=True))

    ax.set_xlim(0)
    ax.set_ylim(-0.5, N)
    return ax
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: CamDavidsonPilon/lifelines
Commit Name: c0ba943adc4290f9d9b341c473db629993f8c3d2
Time: 2020-05-01
Author: sean@sean-reed.com
File Name: lifelines/plotting.py
Class Name:
Method Name: plot_lifetimes


Project Name: prody/ProDy
Commit Name: cd2d6ad5bf8b7663ab3aedd2c5aadd429d3c17a3
Time: 2018-02-19
Author: shz66@pitt.edu
File Name: prody/utilities/catchall.py
Class Name:
Method Name: showMatrix


Project Name: DistrictDataLabs/yellowbrick
Commit Name: e0415fc3d8152110cdd6f1fd310ce77c6be62e57
Time: 2018-10-29
Author: mydigitalanjel@gmail.com
File Name: yellowbrick/cluster/silhouette.py
Class Name: SilhouetteVisualizer
Method Name: finalize