Permalink
Browse files

Reference to fix for matplotlib errors on projection='3d'

  • Loading branch information...
1 parent cf6a595 commit 0791e7d0685c853c2b3f4e3a613c88b994758c97 @drewconway committed Feb 1, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 code/image_data/cluster_pixels.py
@@ -48,6 +48,11 @@
plt.subplot(131)
plt.imshow(I, cmap=cm.gray, interpolation='nearest', origin='lower')
+
+ # NOTE: if you are using a version of matplotlib < 1.0 you will
+ # either need to upgrade to the newest version, or use the fix
+ # suggested here: http://stackoverflow.com/questions/3810865/need-help-with-matplotlib
+
# plot clustered pixels in rgb space in the center
ax = plt.subplot(132, projection='3d', aspect='equal')
#ax.view_init(30, 135)

0 comments on commit 0791e7d

Please sign in to comment.