> There are two conspicuous bugs in the Cairo output:
>
> 1) contour_demo.py: the image part of the figure is wrong in shape and
> content. It looks like an array dimensions confusion or something like
> that. Strangely, the very similar image in image_demo.py is fine.
I fixed this bug. The
On 7/6/07, Eric Firing <[EMAIL PROTECTED]> wrote:
> 2) polar_demo.py: the part of the spiral outside the bounding circle is
> removed in the Agg version but not in the Cairo version.
This is a fairly new feature I added to add -- clipping to a polygon.
I haven't ported it to postscript yet. The
All,
I am reviving this old thread because the topic came up in a thread with
a less-apropos name, and I think we can move it forward a bit more now.
Steve's message (below) is still a useful summary of the cairo status.
examples/backend_driver.py can now be used for wholesale testing and
co
On 1/14/07, Steve Chaplin <[EMAIL PROTECTED]> wrote:
> Darren reported a "bug" in backend_gtkcairo.py which he has "fixed". My
> view is that the lines
> from matplotlib.backends import backend_cairo
> from matplotlib.backends.backend_gtk import *
> work fine when called from the Python prompt. Th
On Fri, 2007-01-12 at 08:44 -0600, John Hunter wrote:
> > "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes:
>
> Steve> I propose this new version of buffer_bgra32 (and
> Steve> buffer_argb32). I tested it with cairo and it seems to work
> Steve> OK.
>
> This looks good -- pleas
On Monday 15 January 2007 12:16 am, Steve Chaplin wrote:
> On Thu, 2007-01-11 at 00:01 -0700, Fernando Perez wrote:
> > 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,
On Thu, 2007-01-11 at 00:01 -0700, Fernando Perez wrote:
> 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
> "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes:
Steve> I propose this new version of buffer_bgra32 (and
Steve> buffer_argb32). I tested it with cairo and it seems to work
Steve> OK.
This looks good -- please test it with one of the memleak scripts, eg
a variant of units/mem
On Thu, 2007-01-11 at 09:56 -0600, John Hunter wrote:
> > "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes:
> Steve> This is the official definition from the manual:
> Steve> CAIRO_FORMAT_ARGB32 each pixel is a 32-bit quantity, with
> Steve> alpha in the upper 8 bits, then red, t
On Thursday 11 January 2007 16:12, Darren Dale wrote:
> $ ipython
>
> In [1]: __import__('matplotlib.backends.backend_ps', globals(),\
> locals(),['backend_ps'])
>
> output:
> ---
> exceptions.AttributeError
On Thursday 11 January 2007 02:01, Fernando Perez wrote:
> On 1/10/07, Steve Chaplin <[EMAIL PROTECTED]> wrote:
> > On Mon, 2007-01-08 at 11:24 -0500, Darren Dale wrote:
> > > "/usr/lib64/python2.4/site-packages/matplotlib/backends/backend_gtkcair
> > >o.py", line 11, in ?
> > > import matplotl
> "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes:
Steve> This is the official definition from the manual:
Steve> CAIRO_FORMAT_ARGB32 each pixel is a 32-bit quantity, with
Steve> alpha in the upper 8 bits, then red, then green, then
Steve> blue. The 32-bit quantities are sto
On Thu, 2007-01-11 at 08:50 -0600, John Hunter wrote:
> > "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes:
>
> Steve> On Mon, 2007-01-08 at 11:24 -0500, Darren Dale wrote:
> >> I only had a short time to work with backend_gtkcairo, but a
> >> couple of things caught my attentio
On Jan 11, 2007, at 12:55 AM, Steve Chaplin wrote:
>> 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?
>
> Its because you can unwittingly end up with module name clashes. There
> can be two diffe
On Thursday 11 January 2007 09:42, John Hunter wrote:
> > "Darren" == Darren Dale <[EMAIL PROTECTED]> writes:
>
> Darren> I had to alter the following lines from backend_gtkcairo,
> Darren> from
>
> Darren> import matplotlib.backends.backend_cairo as be_cairo from
> Darren> matp
> "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes:
Steve> On Mon, 2007-01-08 at 11:24 -0500, Darren Dale wrote:
>> I only had a short time to work with backend_gtkcairo, but a
>> couple of things caught my attention. mathtext support seemed
>> to need some improvement, it l
> "Darren" == Darren Dale <[EMAIL PROTECTED]> writes:
Darren> I had to alter the following lines from backend_gtkcairo,
Darren> from
Darren> import matplotlib.backends.backend_cairo as be_cairo from
Darren> matplotlib.backends.backend_gtk import *
Darren>
"/usr/lib64/pyt
On Mon, 2007-01-08 at 11:24 -0500, Darren Dale wrote:
> I only had a short time to work with backend_gtkcairo, but a couple of things
> caught my attention. mathtext support seemed to need some improvement, it
> looked like it was rendered as an image rather than as text. Also,
> imshow(rand(10
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
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
> 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
--
> "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
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 Chaplin wrote:
> On Mon, 2007-01-08 at 10:09 -0600, John Hunter wrote:
>>> "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes:
>> Steve> My general impression of the cairo "surfaces" is:
>> Steve> ImageSurface/png - support is very good gtk/xlib - support
>> Steve> is very g
On Mon, 2007-01-08 at 10:09 -0600, John Hunter wrote:
> > "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes:
> Steve> My general impression of the cairo "surfaces" is:
> Steve> ImageSurface/png - support is very good gtk/xlib - support
> Steve> is very good ps/pdf/svg are usable
On Monday 08 January 2007 12:02, John Hunter wrote:
> > "John" == John Hunter <[EMAIL PROTECTED]> writes:
> >
> > "Darren" == Darren Dale <[EMAIL PROTECTED]> writes:
>
> Darren> This would really be a plus. The option to use latex for
> Darren> text layout would have to be compl
On Monday 08 January 2007 11:51, Nicholas Young wrote:
> Darren Dale wrote:
> > Hi Steve, Eric, John,
> >
> > On Sunday 07 January 2007 04:44, Steve Chaplin wrote:
> >> On Sat, 2007-01-06 at 09:23 -1000, Eric Firing wrote:
> >>> How do you see the future of a cairo backend as a prospective
> >>> re
> "John" == John Hunter <[EMAIL PROTECTED]> writes:
> "Darren" == Darren Dale <[EMAIL PROTECTED]> writes:
Darren> This would really be a plus. The option to use latex for
Darren> text layout would have to be completely reworked, if it
Darren> could be supported at all. Not that
> "Darren" == Darren Dale <[EMAIL PROTECTED]> writes:
Darren> This would really be a plus. The option to use latex for
Darren> text layout would have to be completely reworked, if it
Darren> could be supported at all. Not that this is a critical
Darren> feature, but in my opinio
Darren Dale wrote:
> Hi Steve, Eric, John,
> On Sunday 07 January 2007 04:44, Steve Chaplin wrote:
>> On Sat, 2007-01-06 at 09:23 -1000, Eric Firing wrote:
>>> How do you see the future of a cairo backend as a prospective
>>> replacement for most or all of the primary mpl backends?
>> I think cairo
Hi Steve, Eric, John,
On Sunday 07 January 2007 04:44, Steve Chaplin wrote:
> On Sat, 2007-01-06 at 09:23 -1000, Eric Firing wrote:
> > Steve,
> >
> > Darren Dale raised a question offline that I think will be of general
> > interest to mpl devels, and that you are the person to answer:
> >
> > Ho
> "Steve" == Steve Chaplin <[EMAIL PROTECTED]> writes:
Steve> My general impression of the cairo "surfaces" is:
Steve> ImageSurface/png - support is very good gtk/xlib - support
Steve> is very good ps/pdf/svg are usable but less mature and
Steve> still developing so there may be
On Sat, 2007-01-06 at 09:23 -1000, Eric Firing wrote:
> Steve,
>
> Darren Dale raised a question offline that I think will be of general
> interest to mpl devels, and that you are the person to answer:
>
> How do you see the future of a cairo backend as a prospective
> replacement for most or a
Steve,
One more question: how does the image quality of cairo compare to Agg?
Is the antialiasing as good?
Thanks.
Eric
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll
Steve,
Darren Dale raised a question offline that I think will be of general
interest to mpl devels, and that you are the person to answer:
How do you see the future of a cairo backend as a prospective
replacement for most or all of the primary mpl backends?
What would need to be completed in
35 matches
Mail list logo