5e7ffdae5326691faeb6faad4828f62ff9720681,lib/mpl_toolkits/axes_grid1/axes_rgb.py,,imshow_rgb,#Any#Any#Any#Any#,58

Before Change


    R[:, :, 0] = r
    G = np.zeros_like(R)
    G[:, :, 1] = g
    B = np.zeros_like(R)
    B[:, :, 2] = b

    RGB = R + G + B

    im_rgb = ax.imshow(RGB, **kwargs)

    return im_rgb

After Change



@cbook.deprecated("3.3", alternative="ax.imshow(np.dstack([r, g, b]))")
def imshow_rgb(ax, r, g, b, **kwargs):
    return ax.imshow(np.dstack([r, g, b]), **kwargs)


class RGBAxes:
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: matplotlib/matplotlib
Commit Name: 5e7ffdae5326691faeb6faad4828f62ff9720681
Time: 2020-03-12
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/axes_grid1/axes_rgb.py
Class Name:
Method Name: imshow_rgb


Project Name: BindsNET/bindsnet
Commit Name: 4c9bebf450569d0a1da22a0560343c45f7196fa3
Time: 2018-05-01
Author: djsaunde@umass.edu
File Name: examples/space_invaders.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: c1b6a1c39fdd4661930280c6098de55359c5a078
Time: 2017-11-24
Author: anntzer.lee@gmail.com
File Name: examples/animation/animation_demo.py
Class Name:
Method Name:


Project Name: bearpaw/pytorch-pose
Commit Name: 447f94818fce0e45ee008ab5ef3f5c93e3416dc3
Time: 2017-05-25
Author: platero.yang@gmail.com
File Name: debug.py
Class Name:
Method Name: