Skip to content

Commit

Permalink
Fix minor typos (#3640)
Browse files Browse the repository at this point in the history
Signed-off-by: Merel Theisen <merel.theisen@quantumblack.com>
  • Loading branch information
merelcht authored Feb 21, 2024
1 parent 30ae2c7 commit 840d1a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/source/notebooks_and_ipython/kedro_and_notebooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ For more details, run `%reload_kedro?`.
### `%load_node` line magic

``` {note}
This is still an experimental feature and is currently only availble for Jupyter Notebook (>7.0) and Jupyter Lab. If you encounter unexpected behaviour or would like to suggest feature enhancements, add it under [this github issue](https://github.com/kedro-org/kedro/issues/3580)
This is still an experimental feature and is currently only available for Jupyter Notebook (>7.0) and Jupyter Lab. If you encounter unexpected behaviour or would like to suggest feature enhancements, add it under [this github issue](https://github.com/kedro-org/kedro/issues/3580).
```

You can load the contents of a node in your project into a series of cells using the `%load_node` line magic.
Expand Down Expand Up @@ -256,7 +256,7 @@ If you have not yet installed [Kedro-Viz](https://github.com/kedro-org/kedro-viz

You can display an interactive visualisation of your pipeline directly in your notebook using the `%run_viz` line magic from within a cell:

```python
```ipython
%run_viz
```

Expand Down Expand Up @@ -295,7 +295,7 @@ Here is example debugging workflow after discovering a node in your pipeline is
</details>

``` {note}
The `%load_node` line magic is currently only availble for Jupyter Notebook (>7.0) and Jupyter Lab. If you are working within a different interactive environment, manually copy over the contents from your project files instead of using `%load_node` to automatically populate your node's contents, and continue from step 2.
The `%load_node` line magic is currently only available for Jupyter Notebook (>7.0) and Jupyter Lab. If you are working within a different interactive environment, manually copy over the contents from your project files instead of using `%load_node` to automatically populate your node's contents, and continue from step 2.
```

---
Expand Down
4 changes: 2 additions & 2 deletions kedro/ipython/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ def _guess_run_environment() -> str: # pragma: no cover
default=None,
)
def magic_load_node(args: str) -> None:
"""The line magic %load_node <node_name>
Currently this feature has better supports with Jupyter Notebook (>7.0) and Jupyter Lab
"""The line magic %load_node <node_name>.
Currently, this feature is only available for Jupyter Notebook (>7.0), Jupyter Lab
and VSCode Notebook. This line magic will generate code in multiple cells to load
datasets from `DataCatalog`, import relevant functions and modules, node function
definition and a function call. If generating code is not possible, it will print
Expand Down

0 comments on commit 840d1a8

Please sign in to comment.