pgfplots

PGFPlots code generator

MIT License

Downloads
6K
Stars
118
Committers
2

Bot releases are hidden (Show)

pgfplots - Release v0.5.1 Latest Release

Published by DJDuque almost 2 years ago

Small quality-of-life improvement. I just noticed that I construct the PathBuf to the newly-generated PDF every time after calling Picture::to_pdf. Just return the path from the function instead.

pgfplots - Release v0.5.0

Published by DJDuque almost 2 years ago

This new release introduces some breaking changes (they are 100% worth it in my biased opinion):

  • The API for compiling and showing a figure has simplified significantly when the tectonic feature is not enabled. This will not break old code that ran e.g. pdflatex directly using the standalone_string(), but it provides a much easier way of compiling a pdf (Picture::from(plot).to_pdf(Engine::PdfLatex)) and showing (Picture::from(plot).show_pdf(Engine::PdfLatex)).

    This will break old code that used the inclusive feature in the following ways:

    1. The inclusive feature no longer exists. It has been renamed to tectonic.
    2. You will need to change plot.show() for Picture::from(plot).show_pdf(Engine::Tectonic). This is a little bit more verbose, but is consistent with the non-tectonic way of viewing a plot.
  • Additionally error handling is now done properly using the thiserror crate.

pgfplots - Release v0.4.1

Published by DJDuque almost 2 years ago

Fix opening PDF figures on macOS with the inclusive feature to use the default PDF viewer correctly.

pgfplots - Release v0.4.0

Published by DJDuque over 2 years ago

What's Changed

This release introduces a small "breaking" change on the public API. Almost all code should still compile correctly, otherwise a trivial type annotation will make code compile correctly again.

After constantly using the library for multiple private projects, I believe that the public API is unlikely to change again (apart from adding new features, and supporting more PGFPlots keys).

Full Changelog: https://github.com/DJDuque/pgfplots/compare/v0.3.1...v0.4.0

pgfplots - Release v0.3.1

Published by DJDuque over 2 years ago

Quick fix to README figures in crates.io

pgfplots - Release v0.3.0

Published by DJDuque over 2 years ago

What's Changed

Full Changelog: https://github.com/DJDuque/pgfplots/compare/v0.2.0...v0.3.0

pgfplots - New `inclusive` feature

Published by DJDuque over 2 years ago

Thanks to the tectonic crate, this will allow users to generate figures without having a LaTeX distribution installed in their system. Tectonic is a big project, orders of magnitude more complex than this PGFPlots code generator. For this reason, the tectonic crate is "hidden" behind the inclusive feature for people that want to view plots directly. For people that already have a LaTeX distribution, it is recommended to compile the LaTeX code directly (it reduces significantly compilation and processing times).

What's Changed

Full Changelog: https://github.com/DJDuque/pgfplots/compare/v0.1.0...v0.2.0

pgfplots - Release v0.1.0

Published by DJDuque over 2 years ago