Skip to content

Commit

Permalink
docs: fix limits of plot in configuration tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanljones committed Feb 16, 2022
1 parent ce8797e commit 70eb840
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/source/tutorial/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ We again can view the current state of the unit cell:

>>> latt = lp.Lattice.square()
>>> latt.add_atom([0.0, 0.0], "A")
>>> latt.plot_cell()
>>> ax = latt.plot_cell()
>>> ax.set_xlim(-0.3, 1.3)
>>> ax.set_ylim(-0.3, 1.3)
>>> plt.show()


Expand Down

0 comments on commit 70eb840

Please sign in to comment.