On Mon, 2007-01-08 at 11:24 -0500, Darren Dale wrote:
> > > What would need to be done in mpl, and how hard would it be?
> >
> > The cairo backend can already be used for png, ps, pdf and gtk output so
> > I don't think there would be much to do. Mostly, it needs testing -
> > running all the mpl
> "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes:
Steve> Matplotlib does use a lot of relative imports which I think
Steve> is bad style.
Steve> See PEP 8 "Style Guide for Python Code"
Steve> http://www.python.org/dev/peps/pep-0008/
Steve> - Relative imports for
> I have never run into a problem with relative imports, though I don't
> object to removing them. Why are they bad style and what is the danger?
I had assumed because it would not be as obvious that the imports were
local modules, but might be wrong...
Best,
Matthew
--
On Wed, 2007-01-10 at 11:55 -0600, John Hunter wrote:
> > "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes:
>
> Steve> Matplotlib does use a lot of relative imports which I think
> Steve> is bad style.
>
> Steve> See PEP 8 "Style Guide for Python Code"
> Steve> http://www.p
On 1/10/07, Steve Chaplin <[EMAIL PROTECTED]> wrote:
> On Mon, 2007-01-08 at 11:24 -0500, Darren Dale wrote:
> > I had to alter the following lines from backend_gtkcairo, from
> >
> > import matplotlib.backends.backend_cairo as be_cairo
> > from matplotlib.backends.backend_gtk import *
> >
> > t