Skip to content

Commit

Permalink
Update kikuchipy.load() doctest
Browse files Browse the repository at this point in the history
Signed-off-by: Håkon Wiik Ånes <[email protected]>
  • Loading branch information
hakonanes committed Sep 29, 2024
1 parent 076d190 commit 1981be1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kikuchipy/io/_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ def load(filename: Union[str, Path], lazy: bool = False, **kwargs) -> Union[
Examples
--------
Import nine patterns from an HDF5 file in a directory ``DATA_DIR``
Import nine patterns from an HDF5 file in a directory ``DATA_PATH``
>>> import kikuchipy as kp
>>> s = kp.load(DATA_DIR / "patterns.h5")
>>> s = kp.load(DATA_PATH / "patterns.h5")
>>> s
<EBSD, title: patterns Scan 1, dimensions: (3, 3|60, 60)>
"""
Expand Down

0 comments on commit 1981be1

Please sign in to comment.