Module Import alias identifier FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad Num body Expr Str Import alias identifier If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad orelse Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num Expr Call AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num If CompareIs NameLoad NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Expr Call AttributeLoad NameLoad attr TupleLoad Return NameLoad decorator_list
N/A N/A numpy np plot_grid N/A N/A x cmap border_color axes linewidth N/A None None None 1 N/A N/A Plot a grid labeling including grid boundaries.

    Parameters
    ==========
    x : array-like, 2d
        Input array to plot.

    cmap : matplotlib colormap
        Colormap to be used for array.

    border_color : matplotlib color
        Color to be used to plot borders between grid-cells.

    axes : matplotlib axes object
        We will plot into this.

    linewidth : int
        Linewidth for the grid-cell borders.

    Returns
    =======
    axes : matplotlib axes object
        The axes object that contains the plot.
     N/A matplotlib.pyplot plt N/A N/A axes None N/A N/A N/A N/A axes matshow x cmap cmap N/A N/A axes N/A N/A N/A N/A plt matshow x cmap cmap get_axes N/A N/A N/A axes set_xticks N/A N/A N/A np arange 1 N/A N/A x shape N/A 1 0.5 N/A N/A N/A axes set_yticks N/A N/A N/A np arange 1 N/A N/A x shape N/A 0 0.5 N/A N/A border_color None N/A N/A border_color black N/A N/A N/A axes grid linestyle - linewidth linewidth color border_color N/A N/A N/A axes set_xticklabels N/A N/A N/A N/A axes set_yticklabels N/A N/A axes N/A