Benjamin Root <ben.r...@ou.edu> writes: > And yet, we still allow for saving to jpegs.
Wow, I didn't know. Last time I tried that I got a traceback, and assumed that it was not supported exactly because jpeg is a nonsensical format for most graphs. I just tried again, and got "TypeError: 'int' object is unsubscriptable" from PIL/JpegImagePlugin.pyc in _save(im, fp, filename). I suppose this doesn't get much testing. > Also, matplotlib is also able to do imshow(), pcolor() and other > rasterized drawings, so we aren't restricted to just line drawings. Yes, I guess there are some circumstances in which this would make sense. Would supporting WebP require new library dependencies? -- Jouni K. Seppänen http://www.iki.fi/jks ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users