Show More
@@ -150,13 +150,13 b' stream output' | |||||
150 | { |
|
150 | { | |
151 | "output_type" : "stream", |
|
151 | "output_type" : "stream", | |
152 | "name" : "stdout", # or stderr |
|
152 | "name" : "stdout", # or stderr | |
153 |
" |
|
153 | "text" : ["multiline stream text"], | |
154 | } |
|
154 | } | |
155 |
|
155 | |||
156 | .. versionchanged:: nbformat 4.0 |
|
156 | .. versionchanged:: nbformat 4.0 | |
157 |
|
157 | |||
158 |
The keys ``stream`` |
|
158 | The keys ``stream`` key was changed to ``name`` to match | |
159 |
the stream message |
|
159 | the stream message. | |
160 |
|
160 | |||
161 |
|
161 | |||
162 | display_data |
|
162 | display_data | |
@@ -291,6 +291,22 b' regardless of format.' | |||||
291 | "source" : ["some nbformat mime-type data"] |
|
291 | "source" : ["some nbformat mime-type data"] | |
292 | } |
|
292 | } | |
293 |
|
293 | |||
|
294 | Backward-compatible changes | |||
|
295 | =========================== | |||
|
296 | ||||
|
297 | The notebook format is an evolving format. When backward-compatible changes are made, | |||
|
298 | the notebook format minor version is incremented. When backward-incompatible changes are made, | |||
|
299 | the major version is incremented. | |||
|
300 | ||||
|
301 | As of nbformat 4.x, backward-compatible changes include: | |||
|
302 | ||||
|
303 | - new fields in any dictionary (notebook, cell, output, metadata, etc.) | |||
|
304 | - new cell types | |||
|
305 | - new output types | |||
|
306 | ||||
|
307 | New cell or output types will not be rendered in versions that do not recognize them, | |||
|
308 | but they will be preserved. | |||
|
309 | ||||
294 | Metadata |
|
310 | Metadata | |
295 | ======== |
|
311 | ======== | |
296 |
|
312 |
General Comments 0
You need to be logged in to leave comments.
Login now