|
From: Andre W. <wo...@us...> - 2004-03-30 15:21:08
|
Hi,
we are proud to announce the release of PyX 0.6. This release further
improves the internal design and visible interfaces of PyX. The path
system has undergone a major revision and cleanup. The graph module
has been split into several smaller modules reflecting its component
architecture. Moreover, it now makes use of the attribute system
introduced in the previous release. Graph styles and data handling
have been largely revised. Major parts of the documentation have been
rewritten and are now based on the standard Python documentation
style. Bug-fixes and speed improvements complete this release.
Find a more detailed list of changes below. Enjoy!
Jörg, Michael, André
----------
0.6 (2004/03/30):
- graph module:
- reorganisation of the graph structure finished (there might be some
small pending issues, but the basic restructuring is done with this release):
- graph splitted into several modules in pyx/graph and pyx/graph/axis
- painters are using the new attribute scheme including changeable
attributes
- graph styles rewrite
- graph data rewrite
- axis zeropath feature has been removed
- mergelabels removed; linpart doesn't have a label argument anymore
- names and texts removed from baraxis
- iteration on graph style, when it is used several times in the same graph
- symbols + lines -> symbollines; symbols do not allow setting lineattrs,
and lines not symbolattrs
- manual line clipping (do not include unneeded line segments when the
axis range is set manually etc.)
- automatic file key titles
- graph.data now also includes the old data module
- data.list adds (by default) a line number like data.file
(thus regular columns are counted from 1)
- path:
- added new pathels multilineto_pt and multicurveto which allows to specify
a list of points and can thus be much more efficient
- internal methods return coordinates in pts
- arclentoparam returns only parameters not total length
- added path.arclength_pt, path.at_pt, path.begin_pt, path.end_pt (and
correspondingly for normpath)
- complete refactoring of the normpath class: normpaths now consist of
normsubpaths which themselves consist of normlines and normcurves This is
much more convenient for any routines working with normpaths.
- reversing of closed sub paths does not change the first point of the sub
path
- renamed: arclength -> arclen
- renamed: lentopar -> arclentoparam
- renamed: glue -> joined
- normpath now supports join, the in-place version of joined
- path and normpath method raise exception instead of returning None
when parameter is out of range
- the accuracy epsilon can now only be specified in normpath and normsubpath
constructor and no longer in arguments of path and normpath methods
- negative parameters are no longer supported in path and normpath methods
- path and normpath methods which accept parameter value param now
alternatively accept an arc length
- deco module:
- cycloid decorator
- smoothed decorator
- arrow heads are no longer stroked (as suggested by Magnus Lie Hetland)
- canvas:
- writeEPSfile deprecates writetofile
- internally, write methods are renamed in outputPS
- canvas constructor no longer accepts variable argument list but
expects a list of attrs as first argument (defaulting to []) and
a texrunner as second argument (defaulting to text.defaulttexrunner)
- set, draw, stroke and fill no longer return self, i.e., the canvas, but None
- bbox module:
- added inplace add (__iadd__), enlarge and transform methods
- callers use inplace add where possible now (yielding a considerable
speedup)
- "undefined" corners of bounding boxes are no longer supported which makes
the bounding box operations much more efficient.
- connnector module:
- renamed _xxx -> xxx_pt
- epsfile module:
- removed showbbox argument of epsfile class
- text module:
- default handling of texmessages as in the new attribute scheme
- multiple insert bug fixed
- made left, right, width, height, depth information available (x length
not taking into account box transformations)
- ignore tex message "Please type a command or say `\\end'"
- added textboxes that are sequentially filled (experimental)
- examples:
- mandel.py (contributed by Stephen Phillips)
- unit module:
- length comparision (David Beach)
- x-scale for TeX
- more unit tests
- mathtree module:
- switched to the new parser using pythons parser module
- data module:
- removed, it all lives in the graph.data module now, while before it
was splitted into two separate modules
- tex module:
- not imported by default anymore
- obsolete warning when importing this module
--
by _ _ _ Dr. André Wobst
/ \ \ / ) wo...@us..., http://www.wobsta.de/
/ _ \ \/\/ / PyX - High quality PostScript figures with Python & TeX
(_/ \_)_/\_/ visit http://pyx.sourceforge.net/
|