On Thu, Jan 29, 2009 at 3:43 AM, Oliver Marks
<oliver.ma...@homedics.co.uk> wrote:
> are there any tutorials / examples / documentation on the use of the
> cairo backend i am currently using gtk and want to work with cairo for
> printing.
>
> I have looked around and not found much information on this backend.

In general, you don't need to know much about a backed to use it, just
switch to that backend by either doing

  import matplotlib
  matplotlib.use('Cairo')

at the top of your script (before importing pylab/pyplot) or making it
permanent in your rc file.  See

  http://matplotlib.sourceforge.net/users/customizing.html
  http://matplotlib.sourceforge.net/faq/installing_faq.html#id1

You can also use cairo rendering in a gtk window by selecting the
GTKCairo backend.

JDH

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to