Skip to content

Commit

Permalink
Documentation: Add docstrings for interactive plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
CSSFrancis committed May 6, 2024
1 parent 8b92dce commit f3d9b95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions diffsims/simulations/simulation2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,9 @@ def plot(
whether to include the direct beam in the plot
ax : matplotlib Axes, optional
axes on which to draw the pattern. If `None`, a new axis is created
interactive : bool, optional
Whether to add sliders for selecting the rotation and phase. This
is an experimental feature and will evolve/change in the future.
**kwargs :
passed to ax.scatter() method
Expand Down

0 comments on commit f3d9b95

Please sign in to comment.