neuroprob/utils/plot.py
def draw_2d(figax, data, vmin=0, vmax=1, cmap='gray', origin='upper', aspect='auto', extent=None, 
            interp_method=None):
    """
    Visualize a 2D array using imshow, the first axis of data is the y-axis.
    
    :param list colors: colors to be included in the colormap
    :param string name: name the colormap
    :returns: figure and axis
    :rtype: tuple
    """
    fig, ax = figax
    im = ax.imshow(data, cmap=cmap, origin=origin, vmin=vmin, vmax=vmax, aspect=aspect, 
                   interpolation=interp_method, extent=extent)
    return im

    Visualize a 2D array using imshow, the first axis of data is the y-axis.
    
    :param list colors: colors to be included in the colormap
    :param string name: name the colormap
    :returns: figure and axis
    :rtype: tuple
    
Visualize a 2D array using imshow, the first axis of data is the y-axis.
Visualize a 2D array using imshow the first axis of data is the y - axis .
def draw_2d(figax, data, vmin=0, vmax=1, cmap='gray', origin='upper', aspect='auto', extent=None, 
            interp_method=None):
    fig, ax = figax
    im = ax.imshow(data, cmap=cmap, origin=origin, vmin=vmin, vmax=vmax, aspect=aspect, 
                   interpolation=interp_method, extent=extent)
    return im
def draw_2d ( figax , data , vmin = 0 , vmax = 1 , cmap = 'gray' , origin = 'upper' , aspect = 'auto' , extent = None , interp_method = None ) : fig , ax = figax im = ax . imshow ( data , cmap = cmap , origin = origin , vmin = vmin , vmax = vmax , aspect = aspect , interpolation = interp_method , extent = extent ) return im
Visualize a 2D array using imshow, the first axis of data is the y-axis.
Visualize a 2D array using imshow the first axis of data is the y - axis .
"""
    Visualize a 2D array using imshow, the first axis of data is the y-axis.
    
    :param list colors: colors to be included in the colormap
    :param string name: name the colormap
    :returns: figure and axis
    :rtype: tuple
    """
figure and axis
figure and axis
tuple
figax
data
vmin
vmax
cmap
origin
aspect
extent
interp_method
colors
colors to be included in the colormap
colors to be included in the colormap
name
name the colormap
name the colormap