Nb2plots

Latest version: v0.7.2

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

Scan your dependencies

Page 2 of 2

0.5.1

*****

New feature and bugfix release. Minor API breakage.

* add explicit Markdown, Python, Notebook builders. You can build the whole
site to Markdown with commands like ``sphinx-build -b markdown -d dt_dir
src_dir md_dir``.
* add ability of Markdown etc builders to resolve internal references relative
to an HTTP build, using new ``markdown_http_base`` configuration option;
* API break - change of template specification for epilogue to ``nbplot``
output; no longer include the source code in the template, but evaluate
source code as ReST separately. This will cause anyone using custom
templates pain, as their code will crash. To fix, simply remove the
reference to source code in the template;
* slightly extend range of doctree nodes that Markdown converter can deal
with.

***

0.5

***

New feature release.

* add ability to convert ReST to Markdown, Python .py files, clear and full
Jupyter notebooks;
* add ``mpl-interactive`` directive to signal presence of ``%matplotlib``
commands in notebook and ReST;
* add ``code-links`` directive to add links to versions of ReST file as
Python ``.py`` file, clear and full notebooks;
* add ability to configure alternative versions of nbplot directives according
to build-time configuration;
* add directive to allow page-specific configuration for the directive
alternative machinery;
* add more general Sphinx testing machinery;
* commit to setuptools;
* improve conversion of matplotlib objects from output cells to doctest output
in ReST page;
* start basic documentation;
* minor API breakage - do not split nbplot code blocks at ``plt.show()``. I
discovered this horrible hack left over from the matplotlib plot directive
when refactoring, and removed it to make refactoring easier;
* minor API breakage - do not write individual nbplot directives as ``.py``
files; they don't make much sense for nbplot use, and the code was not
linking to these files in any case;

***

0.4

***

New feature release.

* ``nb2plots`` script now always outputs converted notebooks as UTF-8, rather
than doing a ``print()`` to stdout;
* add ``raises`` option to ``nbplot`` directive, to test that nbplot blocks to
raise errors while building the HTML;
* fix CI testing to actually run on Python 3.3-3.5.


.. vim: ft=rst

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.