def fig2img (fig):
    # put the figure pixmap into a numpy array
    buf = fig2data ( fig )
    w, h, d = buf.shape #@UnusedVariable
    return Image.fromstring( "RGBA", ( w ,h ), buf.tostring( ) )
Raise a ParsingError which will be converted into an proper
dataset/ETHPy150Open victor-gil-sepulveda/pyProCT/pyproct/tools/plotTools.py/fig2img--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/core/lexer.py/indentation_error