From: John H. <jdh...@ac...> - 2005-04-07 03:12:52
|
>>>>> "jim" == jim <jl...@yv...> writes: jim> Running this script gives the results below #! /usr/bin/env jim> python jim> from matplotlib.backends.backend_agg import RendererAgg from jim> matplotlib.transforms import Value I know there are examples in the pdf user's guide discussing how to use the backend renderer directly, and these are meant mostly to be helpful to matplotlib developers. Unfortunately, the guide has lagged behind the current development state. The backend renderer API is in a transition state right now as we try to introduce some new methods to solve some old problems. In particular, the draw_lines method that you are experiencing problems with has recently had a change in its call signature. These changes have been discussed at some length recently on the matplotlib-devel list. If you are interested, you might want to browse the matplotlib-devel archives and/or join the mailing list; see for example http://sourceforge.net/mailarchive/forum.php?thread_id=6938045&forum_id=36187 . Thanks for reporting this discrepancy -- in the near term the backend API shouldn't be used on the user side. If there is something you want to do but can't in the current API let me know. As for the platform specific differences you report, my first guess is that the matplotlib versions may not be the same. I wouldn't expect platform specific differences in the backend API for the same version. JDH |