human
Complete the below
def curvelinear_test1(fig):

    ''''grid for custom transform.'
    '''

=====
What is a the Python program you requested?
assistant
#Here is the Python program you requested.
    def tr(x, y):
        (x, y) = (np.asarray(x), np.asarray(y))
        return (x, (y - x))
    def inv_tr(x, y):
        (x, y) = (np.asarray(x), np.asarray(y))
        return (x, (y + x))
    grid_helper = GridHelperCurveLinear((tr, inv_tr))
    ax1 = Subplot(fig, 1, 2, 1, grid_helper=grid_helper)
    fig.add_subplot(ax1)
    (xx, yy) = tr([3, 6], [5.0, 10.0])
    ax1.plot(xx, yy, linewidth=2.0)
    ax1.set_aspect(1.0)
    ax1.set_xlim(0, 10.0)
    ax1.set_ylim(0, 10.0)
    ax1.axis['t'] = ax1.new_floating_axis(0, 3.0)
    ax1.axis['t2'] = ax1.new_floating_axis(1, 7.0)
    ax1.grid(True, zorder=0)