Pyx

Latest version: v0.16

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

0.8

- changed requirements to python 2.1 or newer:
- nested scopes are needed without fallback solution by the path module
(at other places fallback solutions for missing nested scopes are missing as well)
- use warning module for warnings
- path module:
- path parameters and argument handling
- the arct to arc/arcn conversion (needed for bbox calculation and for conversion into
normpath) has been fixed
- document module: new
- container classes for document and pages
- document.paperformat class (strings are deprecated)
- canvas module:
- writeEPSfile wraps a canvas in a single page document and performs the output
- bbox module:
- add _pt methods
- pdfwriter module:
- completely rewritten: support for fonts and patterns has been added
- pswriter module: new
- separate PS output from canvas
- new signature of outputPS methods: writer and context are passed as additional
arguments
- color module:
- allow selection on zero range palette (reported by Francisco Borges, cf. bug 1116257)
- prolog module: removed due to code reorganisation
- graph modules:
- modifications on __init__.py in graph and axis subdirectories to
make "from pyx.graph import *" working as expected
- graph styles:
- addontop added to stackedbarpos
- column -> columnname renaming where appropriate
- histogram style added
- graph data:
- function needs explicit variable definition (implicit variable definition is deprecated)
- column names are inherited by data.data() except when copy=0;
unused columns are silently ignored now
- dynamic function data on a logarithmic axis uses isinstance check now
(although it removes the only (mis)use of axis.inverse, it is a
temporary solution only)
- graph key:
- extend graph keys to allow for several columns
- axis data handling refactoring:
- introcuded an axis positioner (module graph.axis.positioner)
- introduced anchoredaxis to make axis data and positioning local to a graph
- linkedaxis is a special version of anchoredaxis and is generic
(it uses the new linkpainter provided by an axis)
- unification of split and bar axes;
removed some black magic in baraxis in favor of a nestedbar axis
- x linked to x2 etc. is now possible
- axis.inverse was removed (the only place it was (mis)used was by a function)
- graphxy:
- allow to transform axis after layout
- [xy]axisat arguments in the constructor to easily move [xy]-axes
to a position defined the orthogonal axis
- remove axispos (use the axis dictionary now, since it now contains
anchored axis instances and those have shortcuts for the axis positioner
methods)
- dvifile:
- tfm->dvi conversion rounding bugfix
- fix parsing of empty strings ("") in fontmap files (reported by John Owens, bug 1218983)
- text module:
- support for halign of boxes and content of boxes (see halign example)
- take units xscale into account in parbox
- messageparser for replaced fontsizes: Warning -> implemented by texmessage.fontwarning
- messageparser for size differences at the end: Warning not Exception -> implemented by texmessage.fontwarning
- messageparser for overfull/underfull vbox/hbox: Warning not Exception -> implemented by texmessage.boxwarning
- dvicopy flag removed
- allow argument of set to be None
- rename nomathmode and nophantom to clearmathmode and clearphantom
- texmessagepattern for easy creation of simple TeX message parsers
- allow long file names in file checking TeX message parsers
- no newline removal to not disturbe TeX messages when reporting errors
- reworked documentation to use the python documentation standards
- style module:
- linewidth is no longer a unit.length subclass but expects a such as first argument
- epsfile module:
- correct EOL handling while reading DSC's (reported by Markus Meyer)
- pattern module: new
- moved canvas.pattern to its own module together with the new PDFpattern class
- add some default patterns: hatched and crosshatched
- deformer module:
- improve the smoothing deformer
- add a parallel deformer
- tex module:
- the very old tex module finally got removed completely
- contrib directory:
- a simple converter from dvi to EPS/PS/PDF files (dviconvert.py) has been added
- a simple imagine to EPS/PS/PDF converter (imgconvert.py) has been added
- a simple dvitype.py has been added
- update address of FSF all over the place

0.7.1

- canvas module:
- EPS header fixed (reported by Russell Lang, cf. bug 1065099)
- Makefile fixes:
- use CURDIR instead of PWD (reported by David M. Cooke, bug 1070285)
- pykpathsea module:
- support windows line endings (patch by Hans-Andreas Engel, cf. bug 1071160)
- graph modules:
- line attributes handling fixed (reported by Andrea Riciputi)
- fix typos in predefined symbols (reported by Andrea Riciputi)
- cut column name list at the max. number of columns (reported by Arnd Baecker)
- examples:
- add INDEX and README files to distribution
- new errorbar and julia example
- faq:
- pdf snippets for tipa based phonetic transliterations

0.7

- 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 Hetland)
- 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


0.6.x (????/??/??):
- graph/axis module:
- fix errorbar range adjustment
- fix empty tick lists bug (reported by Marko Vendelin, cf. bug 977323)
- graph/style module:
- symbolline drawing order in graph key (cf. bug 990687)
- graph/data module:
- access to builtin list (reported by Marcus Mendenhall, cf. bug 1042458)

0.6.3

- graph module:
- fix drawing with background
- fix insertion of a zero length path when the whole line is outside
the valid axis range (reported by Marko Vendelin)
- distribution:
- include source for faq and manual
- distribute the pdf instead of postscript (manual, faq, examples)

0.6.2

- graph module:
- fixed title=None + graph key issue reported by Gabriel Vasseur
- graph.axis.painter.plain -> graph.axis.painter.regular
(as it was in parts of the documentation already)
- changeable-gridattrs-become-None-bug fixed
- graph style cutting outside lines (double-)fixed

0.6.1

- fixes missing install of the graph and axis directories introduced in 0.6
- some minor updates to the faq

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.