Pyx

Latest version: v0.16

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

Scan your dependencies

Page 4 of 5

0.6

- 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 split 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 split into two separate modules
- tex module:
- not imported by default anymore
- obsolete warning when importing this module

0.5.1

- distribution:
- include missing c-files for optional extension modules
- prolog module:
- fix unpaired BeginProcSet/EndProcSet in font enconding

0.5

- setup.py and distribution:
- allow customization of the extension modules built (via setup.cfg)
- disable building pykpathsea module by default
- more detailed description of install process in INSTALL
- provide more information and pointers to other files in README
- include example data files in distribution (suggested by Andrea Riciputi)
- force dvips to write ps files instead of printing them (suggested by Otto Tronarp)
- includ pyxfaq.pdf in distribution
- text module:
- improved is-readable test for lfs files and pyx.def file
- explicitly quit (La)TeX in cleantmp (helps when quitting with <Ctrl>C)
- showwaitfortex implemented following a suggestion by Fernando Perez
(waitfortex is increased to 60 seconds now)
- support of TeX extension --ipc for reading dvi results while TeX keeps running
- configurable font mapping files (via pyxrc or parameter of the texrunner constructor)
- markers to get access to positions within TeX expressions
- fix: allow for e-tex in texmessage.start (reported by Andrea Riciputi)
- fix: print warning at syntax errors in font mapping file and continue (cf. bug 795271)
- remove limitation on number of fonts in dvi file
- added native virtual font support
- dvicopy support not needed anymore (it is still available, but obsolete and
removed from the documentation)
- do not include too many glyphs in the eps file
- _xxx -> xxx_pt renaming
- dvifile module (NEW):
- separated from the text module
- dvifile class returns standard pyx canvas instances on readpage
- graph module:
- removed manualpart and partitioners mix keyword
- results of the splitting at "=" in graph.function were not stripped
- skip title=None in key (cf. bug 821284), properly align a single key entry
- another (the last?!) axis redesign: axispos -> class of its own
- some axispos name have changed slightly (zeroline -> zeropath etc.)
- tick/data-vmin/vmax removed
- pathaxis
- linkaxis
- minor enhancements in exponentionaltexter
- axes alongs paths including a set of examples
- mixing a partitioner and manual ticks by two distinct keyword arguments now
- _xxx -> xxx_pt renaming
- part -> parter renaming
- canvas module:
- stroke, fill, draw, set and insert do no longer accept variable length argument lists but
an attribute list as last argument
- stroke and fill now support trafos (TODO: documentation)
- uppercase version of a4, a3, ... paperformats
- config module:
- new module for loading PyX configuration information
- pyx module:
- automatically import main modules into pyx namespace as suggested by Fernando
Perez.
- path module:
- check for sorting of parameter list passed to path.split method
- _xxx -> xxx_pt renaming
- deco module (NEW):
- contains decoratedpath and decorators from canvas module
- all predefined decorators are instances now (deco.stroked is thus ok) and
attributes have to be passed explicitely, e.g., deco.earrow.small(attrs=color.rgb.red)
and deco.stroked([color.rgb.blue])
- style module (NEW):
- contains all line- and fillstyles which formerly had been defined in the canvas module
- dash now supports relative dash lengths (as suggested by Otto Tronarp)
- mathtree module:
- fixed incorrect handling of - (for instance -x**2 was not negative)
- attrlist module:
- contents have been moved to the (obsolete) tex module, which was the only user anyhow, and
the module itself was removed
- t1strip module:
- new fallback solution in pure python
- bugfix: pyxadapt.h needs to open files binary under Windows (reported by Gary Pajer)
- box module:
- _xxx -> xxx_pt renaming
- trafo module:
- _xxx -> xxx_pt renaming

0.4.1

- canvas module:
- "in" to "inch" in paperformats
- text module:
- fix pyx.def hack occuring whenever \ProcessOptions* was used by a package
- pykpathsea module:
- implement different file formats for Python version of module
- t1strip module:
- python fallback solution should behave the same way as c extension module (closes SF bug 799182 reported
by Marcus Mendenhall)
- __init__.py:
- added "connector" to __all__

0.4

- graph module:
- separate texter out of the axispainter
- axis/partitioner/texter/painter/axispos redesign & interfaces
- tick.text is renamed to tick.label
- ticks and labels are renamed to tickpos/tickdist and labelpos/labeldist in partitioning
- ticks can be used in the part to mix a partitioner with some manual ticks
-> manualpart and the mix technique is not needed anymore
(both things are still available and working, but they will be removed in the future)
- _ensurefrac is implemented inside the frac constructor now; initialization is possible by:
- a (enum, denom) tuple now (previously there were two arguments)
- a string (as before via _ensurefrac)
- exponential strings are allowed as well (e.g. "1e10" etc.)
- a float (precision is determined by floatprecision -- the number of decimal places)
- dense -> density
- axis.maxworse
- axis interface
- text module:
- reset() method for the texrunner
- automatic restart of a TeX instance with the same preamble (preamble changes are not possible)
- texmessage.loadfd for accepting font description loading
- don't bail out on width_index == 0, but mark character invalid instead
- dvicopy flag
- support for specials; pyxgraphics flag
- support psfonts.map: font names, font encodings
- bugfix \def\ProcessPyXBox -> \long\def\ProcessPyXBox
- improved lfs handling
- data module:
- full documentation via doc strings
- connector module:
- some preliminary version
- box module:
- multiple radii (up to two per point) and softnesses
- ensurecenter added --- do we always force the creation of a center?
- path module:
- lentopar methods added including some tests
- epsfile module:
- new parameter bbox allows to override the bounding box of the eps file

bugfixes:
- text module:
- derive TFMError and DVIError correctly from exceptions.Exception
- close files and pipes, if they are no longer used (thanks to Marcus Mendenhall)
- remove DeprecationWarning in Python 2.3 (thanks to Marcus Mendenhall)
- box module:
- correct rounding algorithm (Michael Schindler)
- graph module:
- refer to the graphs texrunner instead of the defaulttexrunner (cf. 728209)
- rounding towards zero bugfix in autolinpart
- log axis range rating bugfix
- mathtree module:
- addarg bugs (738724)
- epsfile module:
- fix mixing up of height and width in scale calculation
- and various other fixer here and there

0.3.1

- text module:
- fix bug in dvi rule code where width was height
- fix preamble attribute checking bug
- fix texmessage.load pattern search instead of pattern match bug
- renamed vbox to parbox (was done in 0.3 partially only)
- data module:
- allow for tuples in arguments of the data class
- convenience: exchanged order of named parameters in data.data
- graph module:
- convenience: allow for part=None in _axis (base of linaxis and logaxis)
- examples:
- added a latex example (requested)
- added a attributechange example (requested)
- added back the integral example (requested; prior PyX 0.3 it was part of the user manual)
- small change in vector example (allow for the access to the texrunner)
- examples included in source distribution
- canvas module:
- correct arrow template calculation for very short paths

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.