c98f0d308636be5c4feaea4a35e77c2d974aa710,deeplabcut/pose_estimation_tensorflow/visualizemaps.py,,visualize_scoremaps,#,329

Before Change


    fig, axes = form_grid_layout(nplots, nplots_per_row, nx, ny, labels=labels)
    for i, ax in enumerate(axes.flat):
        if i < nplots:
            ax.imshow(image)
            ax.imshow(scmap[:, :, i], alpha=0.5)
    return fig, axes

After Change


def visualize_scoremaps(image, scmap):
    ny, nx = np.shape(image)[:2]
    fig, ax = form_figure(nx, ny)
    ax.imshow(image)
    ax.imshow(scmap, alpha=0.5)
    return fig, ax

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 2

Instances


Project Name: AlexEMG/DeepLabCut
Commit Name: c98f0d308636be5c4feaea4a35e77c2d974aa710
Time: 2020-08-03
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/pose_estimation_tensorflow/visualizemaps.py
Class Name:
Method Name: visualize_scoremaps


Project Name: jrosebr1/imutils
Commit Name: f2260cc96d393b7ba41826284da5a4eb39447e59
Time: 2015-12-05
Author: jrosebr1@umbc.edu
File Name: demos/fps_demo.py
Class Name:
Method Name:


Project Name: neurodsp-tools/neurodsp
Commit Name: 858b460aeab7d80e6d67da022ccca1cf11efe89a
Time: 2020-06-14
Author: tdonoghue@ucsd.edu
File Name: neurodsp/plts/spectral.py
Class Name:
Method Name: plot_spectral_hist


Project Name: AlexEMG/DeepLabCut
Commit Name: c98f0d308636be5c4feaea4a35e77c2d974aa710
Time: 2020-08-03
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/pose_estimation_tensorflow/visualizemaps.py
Class Name:
Method Name: visualize_paf