Skip to content

Commit

Permalink
Add changelog entries and API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpre committed May 7, 2023
1 parent c61e2e5 commit ba002f3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Expand Up @@ -158,6 +158,10 @@ Model fitting
``metadata`` attribute instead.

- The deprecated ``twin_function`` and ``twin_inverse_function`` have been privatized.
- Remove ``fancy`` argument of :meth:`~.model.BaseModel.print_current_values` and :meth:`~.component.Component.print_current_values`,
which wasn't changing the output rendering.



Signal
------
Expand Down
2 changes: 2 additions & 0 deletions upcoming_changes/3145.api.rst
@@ -0,0 +1,2 @@
Fix behaviour of :meth:`~.model.BaseModel.print_current_values`, :meth:`~.component.Component.print_current_values`
and :func:`~.api.print_known_signal_types`, which were not printing when running from a script. They were only printing when running in notebook or qtconsole. Now all print_* functions behave consistently: they all print the output instead of returning an object (string or html). The ipython display will pick the correct rendering when running in an "ipython" context, for example notebook, qtconsole.
1 change: 1 addition & 0 deletions upcoming_changes/3145.maintenance.rst
@@ -0,0 +1 @@
IPython and IParallel are now optional dependencies

0 comments on commit ba002f3

Please sign in to comment.