Skip to content

Commit

Permalink
Merge pull request #121 from hakonanes/fix-plot-multiple-scans-doc
Browse files Browse the repository at this point in the history
Fix minor error in code example in visualization doc
  • Loading branch information
hakonanes committed Jan 8, 2020
2 parents 9d1269c + 76fd1af commit ce61975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/visualizing_patterns.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ as a visual inspection of the indexing results:
>>> import h5py
>>> with h5py.File('/path/to/simulated_patterns/sim.h5', mode='r') as f:
patterns = f['EMData/EBSD/EBSDPatterns'][()]
>>> s_sim = kp.signals.EBSD(patterns.reshape(s.axes_manager.shape))
>>> s_sim = kp.signals.EBSD(patterns.reshape(s.data.shape))
>>> hs.plot.plot_signals([s, s_sim], navigator=s_om)
.. _fig-plot-multiple-scans:
Expand Down

0 comments on commit ce61975

Please sign in to comment.