|
@@
-1,62
+1,102
b''
|
|
1
|
1
|
=====================
|
|
2
|
2
|
Development version
|
|
3
|
3
|
=====================
|
|
4
|
4
|
|
|
5
|
5
|
This document describes in-flight development work.
|
|
6
|
6
|
|
|
7
|
7
|
.. warning::
|
|
8
|
8
|
|
|
9
|
9
|
Please do not edit this file by hand (doing so will likely cause merge
|
|
10
|
10
|
conflicts for other Pull Requests). Instead, create a new file in the
|
|
11
|
11
|
`docs/source/whatsnew/pr` folder
|
|
12
|
12
|
|
|
13
|
13
|
|
|
14
|
14
|
- `%%capture` cell magic now captures the rich display output, not just
|
|
15
|
15
|
stdout/stderr
|
|
16
|
16
|
|
|
17
|
17
|
Select Notebook Name When Renaming a Notebook
|
|
18
|
18
|
---------------------------------------------
|
|
19
|
19
|
|
|
20
|
20
|
The default notebook name is Untitled. It's unlikely you want to keep this name
|
|
21
|
21
|
or part of it when naming your notebook. Instead, IPython will select the text
|
|
22
|
22
|
in the input field so the user can easily type over the name and change it.
|
|
23
|
23
|
|
|
24
|
24
|
clear_output changes
|
|
25
|
25
|
--------------------
|
|
26
|
26
|
|
|
27
|
27
|
* There is no longer a 500ms delay when calling ``clear_output``.
|
|
28
|
28
|
* The ability to clear stderr and stdout individually was removed.
|
|
29
|
29
|
* A new ``wait`` flag that prevents ``clear_output`` from being executed until new
|
|
30
|
30
|
output is available. This eliminates animation flickering by allowing the
|
|
31
|
31
|
user to double buffer the output.
|
|
32
|
32
|
* The output div height is remembered when the ``wait=True`` flag is used.
|
|
33
|
33
|
|
|
|
34
|
Extending Configurable Containers
|
|
|
35
|
---------------------------------
|
|
|
36
|
|
|
|
37
|
Some configurable traits are containers (list, dict, set)
|
|
|
38
|
Config objects now support calling ``extend``, ``update``, ``insert``, etc.
|
|
|
39
|
on traits in config files, which will ultimately result in calling
|
|
|
40
|
those methods on the original object.
|
|
|
41
|
|
|
|
42
|
The effect being that you can now add to containers without having to copy/paste
|
|
|
43
|
the initial value::
|
|
|
44
|
|
|
|
45
|
c = get_config()
|
|
|
46
|
c.InlineBackend.rc.update({ 'figure.figsize' : (6, 4) })
|
|
|
47
|
|
|
|
48
|
* In notebook, Showing tooltip on tab has been disables to avoid conflict with
|
|
|
49
|
completion, Shift-Tab could still be used to invoke tooltip when inside
|
|
|
50
|
function signature and/or on selection.
|
|
|
51
|
|
|
|
52
|
Single codebase Python 3 support
|
|
|
53
|
--------------------------------
|
|
|
54
|
|
|
|
55
|
IPython previously supported Python 3 by running 2to3 during setup. We
|
|
|
56
|
have now switched to a single codebase which runs natively on Python 2.7
|
|
|
57
|
and 3.3.
|
|
|
58
|
|
|
|
59
|
For notes on how to maintain this, see :doc:`/development/pycompat`.
|
|
|
60
|
|
|
|
61
|
* ``object_info_request`` as been replaced by ``object_info`` for consistency in the javascript API.
|
|
|
62
|
``object_info`` as a simpler interface to register callback that is incompatible with ``object_info_request``.
|
|
|
63
|
|
|
|
64
|
* Previous versions of IPython on Linux would use the XDG config directory,
|
|
|
65
|
creating :file:`~/.config/ipython` by default. We have decided to go
|
|
|
66
|
back to :file:`~/.ipython` for consistency among systems. IPython will
|
|
|
67
|
issue a warning if it finds the XDG location, and will move it to the new
|
|
|
68
|
location if there isn't already a directory there.
|
|
|
69
|
|
|
|
70
|
* Equations, images and tables are now centered in Markdown cells.
|
|
|
71
|
* Multiline equations are now centered in output areas; single line equations
|
|
|
72
|
remain left justified.
|
|
|
73
|
|
|
34
|
74
|
.. DO NOT EDIT THIS LINE BEFORE RELEASE. FEATURE INSERTION POINT.
|
|
35
|
75
|
|
|
36
|
76
|
Backwards incompatible changes
|
|
37
|
77
|
------------------------------
|
|
38
|
78
|
|
|
39
|
79
|
* Python 2.6 and 3.2 are no longer supported: the minimum required
|
|
40
|
80
|
Python versions are now 2.7 and 3.3.
|
|
41
|
81
|
* The Transformer classes have been renamed to Preprocessor in nbconvert and
|
|
42
|
82
|
their `call` methods for them have been renamed to `preprocess`.
|
|
43
|
83
|
* The `call` methods of nbconvert post-processsors have been renamed to
|
|
44
|
84
|
`postprocess`.
|
|
45
|
85
|
|
|
46
|
86
|
* The module ``IPython.core.fakemodule`` has been removed.
|
|
47
|
87
|
|
|
48
|
88
|
* The alias system has been reimplemented to use magic functions. There should be little
|
|
49
|
89
|
visible difference while automagics are enabled, as they are by default, but parts of the
|
|
50
|
90
|
:class:`~IPython.core.alias.AliasManager` API have been removed.
|
|
51
|
91
|
|
|
52
|
92
|
* We fixed an issue with switching between matplotlib inline and GUI backends,
|
|
53
|
93
|
but the fix requires matplotlib 1.1 or newer. So from now on, we consider
|
|
54
|
94
|
matplotlib 1.1 to be the minimally supported version for IPython. Older
|
|
55
|
95
|
versions for the most part will work, but we make no guarantees about it.
|
|
56
|
96
|
|
|
57
|
97
|
* The :command:`pycolor` command has been removed. We recommend the much more capable
|
|
58
|
98
|
:command:`pygmentize` command from the `Pygments <http://pygments.org/>`_ project.
|
|
59
|
99
|
If you need to keep the exact output of :command:`pycolor`, you can still use
|
|
60
|
100
|
``python -m IPython.utils.PyColorize foo.py``.
|
|
61
|
101
|
|
|
62
|
|
.. DO NOT EDIT THIS LINE BEFORE RELEASE. INCOMPAT INSERTION POINT.
No newline at end of file
|
|
|
102
|
.. DO NOT EDIT THIS LINE BEFORE RELEASE. INCOMPAT INSERTION POINT.
|