def plt_AABB(aabb, **kwargs):
    c_line = '#9467bd'
    c_p = '#e377c2'
    if ('c' in kwargs.keys()):
        colors = kwargs['c']
        if (type(colors) is list):
            c_line = colors[0]
            c_p = colors[1]
        elif (type(colors) is str):
            c_line = colors
    ax = ax3d_handle(**kwargs)
    (xmin, ymin, zmin, xmax, ymax, zmax) = xyzminmax(aabb)
    xyz = np.array([xmin, ymin, zmin, xmax, ymin, zmin, xmax, ymax, zmin, xmin, ymax, zmin, xmin, ymin, zmax, xmax, ymin, zmax, xmax, ymax, zmax, xmin, ymax, zmax]).reshape((- 1), 3)
    line_segs = (np.array([1, 2, 2, 3, 3, 4, 4, 1, 1, 5, 2, 6, 3, 7, 4, 8, 5, 6, 6, 7, 7, 8, 8, 5]).reshape((- 1), 2) - 1)
    line_vt = np.hstack((xyz[line_segs[:, 0]], xyz[line_segs[:, 1]])).copy()
    lc = Line3DCollection(line_vt.reshape((- 1), 2, 3), colors=c_line, linestyles='--')
    ax.add_collection(lc)
    ax.scatter(xyz[:, 0], xyz[:, 1], xyz[:, 2], marker='o', c=c_p)
    return ax
def plt_AABB(aabb, **kwargs):
    c_line = '#9467bd'
    c_p = '#e377c2'
    if ('c' in kwargs.keys()):
        colors = kwargs['c']
        if (type(colors) is list):
            c_line = colors[0]
            c_p = colors[1]
        elif (type(colors) is str):
            c_line = colors
    ax = ax3d_handle(**kwargs)
    (xmin, ymin, zmin, xmax, ymax, zmax) = xyzminmax(aabb)
    xyz = np.array([xmin, ymin, zmin, xmax, ymin, zmin, xmax, ymax, zmin, xmin, ymax, zmin, xmin, ymin, zmax, xmax, ymin, zmax, xmax, ymax, zmax, xmin, ymax, zmax]).reshape((- 1), 3)
    line_segs = (np.array([1, 2, 2, 3, 3, 4, 4, 1, 1, 5, 2, 6, 3, 7, 4, 8, 5, 6, 6, 7, 7, 8, 8, 5]).reshape((- 1), 2) - 1)
    line_vt = np.hstack((xyz[line_segs[:, 0]], xyz[line_segs[:, 1]])).copy()
    lc = Line3DCollection(line_vt.reshape((- 1), 2, 3), colors=c_line, linestyles='--')
    ax.add_collection(lc)
    ax.scatter(xyz[:, 0], xyz[:, 1], xyz[:, 2], marker='o', c=c_p)
    return ax