Skip to content

Commit

Permalink
redocument; tidy NEWS
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed Jul 17, 2023
1 parent 3feb0fa commit 8fa792a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 24 deletions.
48 changes: 24 additions & 24 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
# reticulate (development version)

- `py_iterator()` gains a `prefetch` argument, primarily to avoid deadlocks
where the main thread is blocked, waiting for the iterator, which is waiting
to run on the main thread, as encountered in TensorFlow/Keras. (#1405).

- The knitr engine gains a `jupyter_compat` option, enabling
reticulate to better match the behavior of Jupyter. When this chunk
option is set to `TRUE`, only the return value from the last
expression in a chunk is auto-printed. (#1391, #1394, contributed by
@matthew-brett)

- The knitr engine now more reliably detects and displays matplotlib
pending plots, without the need for a matplotlib artist object to be
returned as a top-level expression. E.g., the knitr engine will now
display plots when the matplotlib api returns something other than
an artist object, (`plt.bar()`), or the matplotlib return value is
not auto-printed due to being assigned, (`x = plt.plot()`), or
suppressed with a `;`, (`plt.plot();`). (#1391, #1401, contributed
by @matthew-brett)

- Fixed an issue where knitr engine would not respect chunk options
`fig.width` / `fig.height` when rendering matplotlib plots. (#1398)

- Updated sparse matrix conversion routines for compatibility with
scipy 1.11.0.
- `py_iterator()` gains a `prefetch` argument, primarily to avoid deadlocks
where the main thread is blocked, waiting for the iterator, which is waiting
to run on the main thread, as encountered in TensorFlow/Keras. (#1405).

- The knitr engine gains a `jupyter_compat` option, enabling
reticulate to better match the behavior of Jupyter. When this chunk
option is set to `TRUE`, only the return value from the last
expression in a chunk is auto-printed. (#1391, #1394, contributed by
@matthew-brett)

- The knitr engine now more reliably detects and displays matplotlib
pending plots, without the need for a matplotlib artist object to be
returned as a top-level expression. E.g., the knitr engine will now
display plots when the matplotlib api returns something other than
an artist object, (`plt.bar()`), or the matplotlib return value is
not auto-printed due to being assigned, (`x = plt.plot()`), or
suppressed with a `;`, (`plt.plot();`). (#1391, #1401, contributed
by @matthew-brett)

- Fixed an issue where knitr engine would not respect chunk options
`fig.width` / `fig.height` when rendering matplotlib plots. (#1398)

- Updated sparse matrix conversion routines for compatibility with
scipy 1.11.0.

- New function `virtualenv_starter()`, which can be used to find a suitable
python binary for creating a virtual environmnent. This is now the default
Expand Down
4 changes: 4 additions & 0 deletions man/virtualenv-tools.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8fa792a

Please sign in to comment.