Re: [matplotlib-devel] registerable backend and minor refactoring of backend-ps

2010-02-03 Thread Jae-Joon Lee
Nothing much in the regards of the functionality. It only provides a way to use custom backends with "savefig", which I think is more convenient for interactive use. For example, with the ps_cmyk backend that I'm playing with, the only thing that I need to do is to import the module (ps_cmyk) and

Re: [matplotlib-devel] registerable backend and minor refactoring of backend-ps

2010-02-03 Thread Ryan May
On Wed, Feb 3, 2010 at 2:01 PM, Jae-Joon Lee wrote: > Dear all, > > I just committed a small change that enables a user to register a > custom backend that will be used with "savefig". > For example, > > import matplotlib.backend_bases > from matplotlib.backends.backend_ps import FigureCanvasPS, R

[matplotlib-devel] registerable backend and minor refactoring of backend-ps

2010-02-03 Thread Jae-Joon Lee
Dear all, I just committed a small change that enables a user to register a custom backend that will be used with "savefig". For example, import matplotlib.backend_bases from matplotlib.backends.backend_ps import FigureCanvasPS, RendererPS class RendererPSCustom(RendererPS): def draw_path(se