Changelog History
-
v2.3.0.1 Changes
December 02, 2019- ๐ฆ Re-licensed package and library to GPL-2, same as pandoc. The previous license (MIT) was not compatible with pandoc's license.
- ๐ Fixed an issue where plotly plots would not handle filenames correctly.
-
v2.3.0.0 Changes
November 26, 2019โ Added support for pandoc 2.8 and pandoc-types 1.20 (#9). Because of breaking changes in pandoc-types 1.20, pandoc-pyplot 2.3.0.0+ only supports pandoc 2.8+.
-
v2.2.0.0 Changes
November 05, 2019๐ Figures can now be rendered via Plotly (see issue #4)!
To do so, simple replace the
{.pyplot}
class with the{.plotly}
class. Markdown example:```{.plotly caption="This is a Plotly figure!"}import plotly.graph\_objects as gofig = go.Figure( data=[go.Bar(y=[2, 1, 3])], layout\_title\_text="A Figure Displaying Itself")```
-
v2.1.5.1 Changes
August 08, 2019๐ This is a bugfix release with the following change:
- ๐ Fixed an issue where setting the configuration option
transparent: true
left high-resolution figures difficult to see. Therefore, the optiontransparent: true
does not affect high-resolution figures anymore.
- ๐ Fixed an issue where setting the configuration option
-
v2.1.5.0 Changes
August 07, 2019๐ Based on the discussion of #3, this release introduces the following changes:
- โ Added support for two new configuration values:
tight_bbox: true|false
andtransparent: true|false
. These values are only supported via configuration files.pandoc-pyplot.yml
.
โก๏ธ The README has also been updated to reflect the change.
- โ Added support for two new configuration values:
-
v2.1.4.0 Changes
June 19, 2019๐ This release sees certain tweaks and documentation on how to use
pandoc-pyplot
with LaTeX files.โ Added examples and documentation on how to use
pandoc-pyplot
on LaTeX documents.๐ Allowed raw LaTeX macros in figure captions. This is required to label figures in LaTeX. E.g.:
\begin{minted}[caption=myCaption\label{myfig}]{pyplot} ...\end{minted}
One backwards-incompatible change, unfortunately:
- ๐
with-links
key changed tolinks
. Pandoc doesn't support LaTeX tokens with-
.
- ๐
-
v2.1.3.0 Changes
June 04, 2019๐ This release sees one major change:
๐ Links to source code and high-res images can be suppressed using
{.pyplot with-links=false ...}
(or via the configuration file withwith-links: false
). This is to get cleaner output in technical documentation (e.g. PDF). Example:```{.pyplot caption="This is a caption" with-links=false} import matplotlib.pyplot as plt plt.figure() plt.plot([1,2,3,4,5],[1,2,3,4,5]) ```
Other notable changes:
- ๐ Switched to using optparse-applicative for command-line argument parsing.
- โ Added a command-line options, "--write-example-config", which will write a config file ".pandoc-pyplot.yml" to show all available configuration options.
- โ Added automated builds on macOS and Linux via Azure-Pipelines. Windows build will stay on Appveyor for now.
-
v2.1.2.0 Changes
May 30, 2019โก๏ธ This minor update implements the following user-facing features:
- โ Added the "flags" configuration option, which allows to pass command-line flags to the Python interpreter. For example, warnings can be suppressed using the
-Wignore
flag. - โก๏ธ Updated the command-line help with an example combining pandoc-pyplot and pandoc-crossref
- Default Python interpreter is now "python" on Windows and "python3" otherwise.
๐จ It also includes refactoring and better tests.
- โ Added the "flags" configuration option, which allows to pass command-line flags to the Python interpreter. For example, warnings can be suppressed using the
-
v2.1.1.1 Changes
May 12, 2019๐ This release sees only one noteworthy change:
- ๐ Fixed a critical bug where pandoc-pyplot would interpret input from pandoc as a malformed command-line flag (#2).
Users who interact with pandoc-pyplot via the executable are strongly encouraged to upgrade.
-
v2.1.1.0 Changes
April 22, 2019๐ This release sees a new command-line argument, "-m"/"--manual" which opens a manpage in the default web browser.
Here is the full changelog:
- โ Added a command-line option to open the HTML manual in the default web browser.
- โ Added documentation regarding compatibility with pandoc-crossref. This was always supported but not explicitly documented.