3e5f0e03cec31629d2a8db78751d80019aa629ce,hypertools/plot/plot.py,,plot,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,20

Before Change


        x = reshape_data(x, group)

        // interpolate lines if they are grouped
        if all([symbol is not fmt for symbol in Line2D.markers.keys()]):
            x = patch_lines(x)

    // interpolate if its a line plot

After Change


            x = patch_lines(x)

    // interpolate if its a line plot
    if fmt is None or type(fmt) is str:
        if is_line(fmt):
            if x[0].shape[0] > 1:
                x = interp_array_list(x, interp_val=frame_rate*duration/(x[0].shape[0] - 1))
    elif type(fmt) is list:
        for idx, xi in enumerate(x):
            if is_line(fmt[idx]):
                if xi.shape[0] > 1:
                    x[idx] = interp_array_list(xi, interp_val=frame_rate*duration/(xi.shape[0] - 1))

    // handle explore flag
    if explore:
        assert x[0].shape[1] is 3, "Explore mode is currently only supported for 3D plots."
        mpl_kwargs["picker"]=True
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: ContextLab/hypertools
Commit Name: 3e5f0e03cec31629d2a8db78751d80019aa629ce
Time: 2017-05-31
Author: andrew.heusser@gmail.com
File Name: hypertools/plot/plot.py
Class Name:
Method Name: plot


Project Name: lmcinnes/umap
Commit Name: 562f20ae61d5fe443ef6cced48bec5f1e812d68a
Time: 2018-11-22
Author: leland.mcinnes@gmail.com
File Name: umap/umap_.py
Class Name: DataFrameUMAP
Method Name: fit


Project Name: ContextLab/hypertools
Commit Name: 57341c920b62c30155a2dd36aa4ae6dd338a76c9
Time: 2017-05-31
Author: andrew.heusser@gmail.com
File Name: hypertools/plot/plot.py
Class Name:
Method Name: plot