pyglet backend (experimental)


I'm working on a pyglet backend for matplotlib and I have a few
questions. Currently the renderer is a subclass of the Agg renderer and
it seems to be working properly. I intended only to re-implement the
'draw_image' method to benefit from fast image display using
OpenGL/texture/shader. My first test was then to have a dummy draw_image
image and I expected command like imshow to not display anything at all
but is it not the case. Am I wrong in my assumption regarding the
purpose of the 'draw_image' method ?

Experimental code is located at: