Skip to content
Snippets Groups Projects
Commit 363f308a authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Merge branch 'rf/practicals' into 'master'

fix to plotting prac

See merge request !10
parents 59b215ad 1bd2b526
No related branches found
No related tags found
1 merge request!10fix to plotting prac
...@@ -166,7 +166,7 @@ axis, you don't need to modify the data - simply swap the axis limits around: ...@@ -166,7 +166,7 @@ axis, you don't need to modify the data - simply swap the axis limits around:
``` ```
plt.imshow(imslc, cmap=plt.cm.gray) plt.imshow(imslc.T, cmap=plt.cm.gray)
plt.xlim(reversed(plt.xlim())) plt.xlim(reversed(plt.xlim()))
plt.ylim(reversed(plt.ylim())) plt.ylim(reversed(plt.ylim()))
plt.colorbar() plt.colorbar()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment