Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
scottshambaugh authored Jan 19, 2024
1 parent 7f90e96 commit 788cee2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ Color anaglyph algorithms can be chosen from the methods `'dubois'`, `'photoshop
from mpl_stereo.example_data import church_left_right
church_left_data, church_right_data = church_left_right

# or
import matplotlib as mpl
sun_left_data = mpl.image.imread('church_left.jpg')
sun_right_data = mpl.image.imread('church_right.jpg')

axstereo = AxesStereo2D()
axstereo.ax_left.imshow(church_left_data)
axstereo.ax_right.imshow(church_right_data)
Expand Down

0 comments on commit 788cee2

Please sign in to comment.