- Add option to call instanciated Palette object to create a new one with fixed number of colors from a dynamic one.
- Changed 'holi' cmap and palette to be optimized for all number of colors instead of just for 5 or 6. Examples have been updated accordingly.
- [POTENTIAL BREAKING CHANGE] Changed predefined cmaps and palettes to be instances of LinearColorMap and Palette instead of subclasses. Precautions have been taken to minimize breaking changes.
- Add option to make color interpolation non-cyclic in LinearColorMap for more flexibility.
- Add option to build from current working directory or from source directory containing the TeX file for more flexibility with Plots.
- Fix problem in Color where the preamble was added only at build time by creating a new PreambleObject linked to a Color object.
- Add option to delete automatically auxiliary files after compilation.
- Add color maps and palettes (dynamic and static), with examples, tests, and predefined cmaps.
- Plot now supports palette as objects or iterable. Defaults to the 'holi' palette.
- Color now supports all models from the xcolor package (i.e. rgb, HTML, hsb, etc.)
- Factored the Axis environement into a standalone class in prevision of adding subplots.
- Can now add a label to line plots as an alternative to the legend.
- Add support for TeX command 'colorbox'.
- Add support for TeX command 'textcolor'.
- Tables now support every kind of int and float by using the Integral and Real types.
- Bad indexing in Tables raises an exception.
- Breaking changes:
- SelectedArea 'change_format' method removed for a 'format_spec' property and a 'apply_command' method.
- SelectedArea 'highlight' method removed, as it overlapped the 'apply_command' method purpose.
- Complete rework of Table:
- New Tabular object handling the mechanics of the table.
- Table is now a "shell" for a Tabular object, with main purpose to have a floating 'table' environment without boilerplate.
- Build phase is simplified and more clear. Steps are: Number formatting, individual cell building and then command applications.
- Added 'decimal_separator' parameter to allow comma for other languages typesetting such as French.
- Added 'mean_with_std_table_example.py' with applications for machine learning practitioners.
- Complete test coverage for features of Table.
- Add individual cell formating in tables
- Add simpler example of tables
- Add caption, caption_pos and caption_space as arguments to _FloatingEnvironment and its children to allow manual space between caption and the content.
- Change the behavior of build to ignore empty strings.
- New Template class to insert tex in already existing file.
- Added option to star an environment.
- Add forget_plot argument to add_plot method of Plot class to fix incompatibilities with histogram.
- Reworked Plot so that lines are objects and are built in the order that have been added to the axis.
- Added a MatrixPlot object to make heatmaps.
- Multiple bug fixes in Plot.
- Fixed bug with relative path when building Plot objects.
- Added documentations throughout the code.
- First release.
- Added Color object.
- Packages now use TexCommand objects to build.
- 'header' variable name changed to 'preamble'.
- The preamble is now part of TexObject instead of Document to allow adding lines from any level.
- 'build' function now takes a 'parent' arguments to correctly and safely collect all packages and preamble lines from all levels.
- Added automatic opening of pdf viewer after build to pdf.
- Added binding mechanism for TexObject to instances of TexEnvironment to alleviate syntax.
- Changed many internal Tex generation to use TexCommand instead.
- TexObject no longer have a 'body' attribute.