python: introduce spot.jupyter.display_inline()

* python/spot/jupyter.py: New file.
* python/Makefile.am: Add it.
* tests/python/product.ipynb: Use it.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2018-05-04 15:27:51 +02:00
parent b0b431a5a4
commit 58d9a12495
4 changed files with 1131 additions and 993 deletions

5
NEWS
View file

@ -60,6 +60,11 @@ New in spot 2.5.3.dev (not yet released)
options; there are demonstrated on the new
https://spot.lrde.epita.fr/ipynb/satmin.html page.
Python:
- New spot.jupyter package. This currently contains a function for
displaying several argument side by side in a Jupyter notebook.
Bugs fixed:
- print_dot() will correctly escape strings containing \n in HTML