Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 0791e7d0685c853c2b3f4e3a613c88b994758c97 1 parent cf6a595
@drewconway authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 code/image_data/cluster_pixels.py
View
5 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)
Please sign in to comment.
Something went wrong with that request. Please try again.