problem with contour labels with logarithmic axis

Answering my own question... It's a question of order. I needed to
set_yscale('log') before calling clabel.

Jon

···

        Hi all,
        
        I've run into a problem with a contour plot that has a
        logarithmic
        y-axis. The spacing around the inline contour label is too
        large,
        leading to a large segment of the contour being blocked
        out/erased. I
        tried making the plot with a linear axis and it didn't happen
        in that
        case, so I'm thinking that it has to do with the contour
        labeling
        routine not understanding logarithmic scaling. Attached is a
        plot
        demonstrating the problem. Is there a solution for this?
        
        Jon Slavin