|
From: Andre W. <wo...@us...> - 2004-10-21 20:12:23
|
Hi,
we are proud to announce the release of PyX 0.7. This release adds
support for inclusion of bitmaps to PyX. Furthermore the path system
has undergone major revision and cleanup. The handling of short path
elements got enhanced considerably to prevent numerical instabilities.
In addition the data and style handling in the graph system was
completely reorganized. In the result is now possible to combine
several graph styles within a single plot instruction.
Find a more detailed list of changes below. Enjoy!
Jörg, André, Michael and Gert
---------
0.7 (2004/10/21):
- bitmap module:
- new module for inclusion of bitmap images
- path module:
- names of local and member variables now follow the naming convention of
having a _pt suffix when containing lengths in points
- bbox module:
- names of local and member variables now follow the naming convention of
having a _pt suffix when containing lengths in points
- enlarge was misspelled as enlarged
- renamed _bbox -> bbox_pt
- new bbox method center, which returns the coordinates of the center
of the bbox
- enlarge and enlarged do no longer interprete unqualified lengths as
being of type visual
- unit module:
- unit.cm, unit.t_cm, etc. are no longer sub classes but instances
of length
- never convert implicitly into visual/width, etc. lengths (this is more
about usage of the unit module in various other modules) (TODO: update
documentation)
- support for string initialization removed
- support for initialisation with other length removed
- lengths can now be divided by other lengths (as suggested by Michael Gruber
and Magnus Lie HHetland)
- text module:
- postpone reading of fontmap files until TeX/LaTeX is started
- sign of font number in dvifile (reported by Michael Gruber)
- phantom attribute
- canvas module:
- added new classes page and document for multipage PostScript output
- apply deformers (instead of trafos) in draw method
- style module:
- decrease interval for dotted and dash-dotted lines for better visual
appearance
- setup.py and distribution:
- create siteconfig on install to store positions of the shared data
and the global pyxrc
- graph modules:
- graph style + data reorganization
- modularization of the graph styles by separating data handling and drawing tasks
- several graph styles can now be combined together
- graph data can internally now combine different data sources
(by that, some nasty side effects could have been removed)
- enum -> num renaming
- allow for horizontally and vertically centered graph key alignment and a key background
- fix bug that graph was not finished automatically when a bbox was specified
manually (reported by David Barton)
- path module:
- pathel -> pathitem, etc. renaming
- methods accepting a parameter value / arc length now also allow the user to
pass a tuple (subpath, param) / (subpath, arclen)
- normpath constructor no longer accepts a path or normpath as argument but only a list
of normsubpaths. Use the new normpath method of the path instead to construct a normpath
from a path.
- normsubpath can now deal with short (i.e. shorter than epsilon) segments correctly
- the intersect and split methods of normpath and normsubpath have been completely rewritten and
now take the accuracy epsilon correctly into account. Note that for a closed subpath the
split function now returns the segment containing the closing point as first element
in the result list (before, it was returned as last element).
- normsubpathitems and normsubpath now implement much more methods also provided by
path and normpath instances
- normpath.append no longer accepts pathitems but only normsubpaths
- deformer module: new
- moved cycloid and smoothed from deco into deformer
- bbox module:
- handle "BoundingBox: (atend)" (cf. bug #945621 reported by Jim Boyle)
- kpsearch option to search for file using the kpathsea library (contributed by Michael Gruber)
- base module:
- PSCmd and PSOp are now joined in a new class canvasitem
- deco module:
- decorated path no longer allows modification of its path
- new method excluderange which allows to remove certain parameter ranges from the stroked path
- additional canvas provided by decorated path is now called ornaments
- constriction=None now indicates an arrowhead without constriction
- trafo module:
- trafos are now deformers
- examples:
- a bunch of bargraph examples have been added
--
by _ _ _ Dr. André Wobst
/ \ \ / ) wo...@us..., http://www.wobsta.de/
/ _ \ \/\/ / PyX - High quality PostScript figures with Python & TeX
(_/ \_)_/\_/ visit http://pyx.sourceforge.net/
|