import matplotlib.pyplot as plt
from spectractor.extractor.images import Image
from spectractor import parameters
from spectractor.tools import plot_image_simple
f, ax = plt.subplots(1,1)
im = Image('tests/data/reduc_20170605_028.fits', config="./config/ctio.ini")
plot_image_simple(ax, im.data, scale="symlog", units="ADU", target_pixcoords=(815,580),
                    title="tests/data/reduc_20170605_028.fits")
if parameters.DISPLAY: plt.show()
