Pyx

Latest version: v0.16

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

Scan your dependencies

Page 1 of 5

0.16

- graph module:
- enable shortcut for passing arguments through graph components (axes,
painters, etc.) by passing keyword arguments consisting of graph
components separated by underscores.
- graph.axis.style:
- Allow invalid values (e.g. None) in color values of density style.
- text module:
- make alignment work with texlive 2020 (reported by Thomas Bending)
- fix deprecation warning for isSet
- dvi module:
- ignore the l3backend header special for dvips
- bitmap module:
- fix bitmap palette data pdf output being bytes
- canvas module:
- add clear() method to canvas class (suggested by Camilo Talero)
- t1 extension module:
- adjust to int/Py_ssize_t change in python 3.10 (thanks to Michael J
Gruber)
- graph.axis.texter:
- rename multiplication_tex -> multiplicationtex and multiplication_unicode
-> multiplicationunicode in default texter
- manual:
- Remove deprecated code in colorname.py and gradientname.py (thanks to
grozin for reporting this in bug 37)
- the gallery has been moved away from sourceforge.net wiki to the PyX website.
Contributions by pull requests are welcome.

0.15

- text module:
- introduce UnicodeEngine
- MultiEngineText to express combined text data for TeX based engines and
the new UnicodeEngine
- Text and StackedText classes for simple typesetting operations on
UnicodeEngine text
- rename TexRunner and LatexRunner to TexEngine and LatexEngine
- rename cls argument of text.set to engine (with fallback and
deprecation warning in place)
- improve error handling when input cannot be encoded by texenc
- add support for virtual fonts in virtual fonts
- font maps: treat font files without extension as Type 1 (to
prevent warnings occuring especially with Minion or Libertine fonts)
- fix UnicodeDecodeError for invalid character responses by TeX/LaTeX
(reported by Gert Ingold)
- new examples:
- non-ASCII TeX encoding
- t1font:
- use integers in auto-guessed font descriptors to prevent an issue in pdftex
(reported by Michael Hartmann)
- fix typo: ItalicAngles -> ItalicAngle (thanks to Ross Moore)
- graph.axis.texter:
- unify exponential and mixed texter to default texter
- use MultiEngineText in all texters (decimal, default, factional)
- pdfwriter, pswriter, svgwriter:
- removed underscore in PS and PDF and SVG writer options strip_fonts,
text_as_path, mesh_as_bitmap, mesh_as_bitmap_resolution
(new: stripfonts, textaspath, meshasbitmap and meshasbitmapresolution)
to prevent ambiquity with write_ prefixes.
- Fix color output in SVG (reported by Michael Hartmann)
- deformer:
- Fix parallel deformer for empty normsubpaths (thanks to Michael J Gruber)
- graph.style:
- Use RGBA instead of ARGB in the bitmap fallback of graph.style.density
Fix saving SVG as supported modes are limited (thanks to Michael J Gruber)
- pattern:
- inject default linewidth (reported by Michael J Gruber)
- version control:
- switched to git on 2018/07/16 with main repository on GitHub

0.14.1

- distribution:
- upload to PyPI (including old releases)
- remove old releases from sourceforge
- text module:
- fix load_def message parser (reported by Mico Filós)
- normpath:
- fix intersect with empty normsubpaths (bug 62, thanks to Florent Hivert)

0.14

- new svgwriter module:
- complete SVG output
- SVG font output disabled by default due to missing support by
most browsers, fallback by rendering fonts as paths
- new svgfile module:
- SVG reader
- unparsed mode: embedd svg in other svg
- parsed mode: supports reading paths (including styles,
tranformations, etc.) into a PyX canvas
- bitmap module:
- using bytes in image type conversions and channel extraction
- color module:
- fix grey class
- fix rgb css binary issue and short code index error
- epsfile module:
- fix parsing of bounding box
- text module:
- no end of pages test when no dvi is created at all
- add chroot config option needed to use a chrooted TeX installation
- graph module:
- add xy12axesat feature to graphxyz
- canvas module:
- fix clipping and transformation applied together
- provide _repr_svg_ in canvas for use by IPython
- new constructor argument ipython_bboxenlarge
- deco module:
- remove shortcut for ornaments only to not skip global styles

0.13

- Requires at least Python 3.2
- The gallery has been moved to https://sourceforge.net/p/pyx/gallery/, which
is a wiki. Contributions are welcome.
- filelocator module:
- cygwin LaTeX with windows python patch (thanks to Sybren A. Stüvel)
- graph styles:
- fix numerical instability of line clippings
- remove errorbar range checks, as they fail on a reverse axis, which is
correct (reported by Néstor Espinoza)
- path module:
- fix internal name clash when generating a normpath from an empty path
(reported by Brendon Higgins)
- normpath module:
- several stability and precision improvements and bugfixes
- cusp removal at normpath construction (and getting rid of invalid
results for curvature, rotation, tangent, and trafo methods)
- remove curveradius methods as they are invalid for straigt paths
- deco module:
- apply text trafos to each character in curvedtext (reported by Hans L)
- properly apply all textattrs in curvedtext (for example colors or scalings)
- canvas module:
- layer method takes layer names above or below (instead of an instance),
also reorders layer accordingly when layer is already existing
- remove the before and after arguments of insert
- handle trafo and clip separately in constructor and write methods
- allow for one clipping instance only
- optimize graphics state stack usage
- dvi/dvifile module:
- change special handling for transformations and colors to use subcanvases
- apply transformations to markers
- trafos and styles are no longer canvasitems
- style module:
- fillrules are now fillstyles and handled within the PS/PDF context
- text module:
- new texenc setting
- major code reorganization and documentation revision (now using autodoc)
- font/afmfile module:
- parse more AFM files, also some with common inconsistencies (thanks to
Markus Schwienbacher for reporting these issues)
- color module:
- functiongradient has been split into functiongradient_rgb, etc. and
the function parameters are now passed directly
- lineargradient has been removed for factory functions lineargradient_rgb, etc.
that provide linear gradients between colors of a particular color model
- bitmap module:
- fix jpegimage for progressive jpeg files (thanks to Michael Schindler)
- pyxrc:
- use APPDATA environment variable to locate the pyxrc on windows
- tex, latex, kpsewhich, and locate executables are now customizable in the pyxrc
- on the package level:
- add pyxinfo to enable output of some useful information
- manual:
- PyX theme and various sphinx tweaks

0.12.1

- graph styles:
- fix drawing and clipping of gradient style

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.