Gadfly labels overlap and are not readable

I am trying to plot a figure which very elongated. However, the Gadfly labels overlap and are not readable.

See below:

Gadfly.draw(Gadfly.PDF("a.pdf"), Gadfly.spy(rand(1000,10), Gadfly.Scale.y_discrete(labels=i->string(i)), Gadfly.Guide.yticks(label=true), Gadfly.Theme(minor_label_font_size=0.3Gadfly.pt, major_label_font_size=0.3Gadfly.pt, key_title_font_size=0.3Gadfly.pt, key_label_font_size=0.3Gadfly.pt)))