@staticmethod<EOL><INDENT>def box(b, line_width=<NUM_LIT:2>, color='<STR_LIT:g>', style='<STR_LIT:->'):<DEDENT>
if not isinstance(b, Box):<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>min_i = b.min_pt[<NUM_LIT:1>]<EOL>min_j = b.min_pt[<NUM_LIT:0>]<EOL>max_i = b.max_pt[<NUM_LIT:1>]<EOL>max_j = b.max_pt[<NUM_LIT:0>]<EOL>top_left = np.array([min_i, min_j])<EOL>top_right = np.array([max_i, min_j])<EOL>bottom_left = np.array([min_i, max_j])<EOL>bottom_right = np.array([max_i, max_j])<EOL>left = np.c_[top_left, bottom_left].T<EOL>right = np.c_[top_right, bottom_right].T<EOL>top = np.c_[top_left, top_right].T<EOL>bottom = np.c_[bottom_left, bottom_right].T<EOL>plt.plot(left[:,<NUM_LIT:0>], left[:,<NUM_LIT:1>], linewidth=line_width, color=color, linestyle=style)<EOL>plt.plot(right[:,<NUM_LIT:0>], right[:,<NUM_LIT:1>], linewidth=line_width, color=color, linestyle=style)<EOL>plt.plot(top[:,<NUM_LIT:0>], top[:,<NUM_LIT:1>], linewidth=line_width, color=color, linestyle=style)<EOL>plt.plot(bottom[:,<NUM_LIT:0>], bottom[:,<NUM_LIT:1>], linewidth=line_width, color=color, linestyle=style)<EOL>
Draws a box on the current plot.

        Parameters
        ----------
        b : :obj:`autolab_core.Box`
            box to draw
        line_width : int
            width of lines on side of box
        color : :obj:`str`
            color of box
        style : :obj:`str`
            style of lines to draw