Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 0791e7d0685c853c2b3f4e3a613c88b994758c97 1 parent cf6a595
Drew Conway authored February 01, 2011

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  code/image_data/cluster_pixels.py
5  code/image_data/cluster_pixels.py
@@ -48,6 +48,11 @@
48 48
     plt.subplot(131)
49 49
     plt.imshow(I, cmap=cm.gray, interpolation='nearest', origin='lower')
50 50
 
  51
+
  52
+    # NOTE: if you are using a version of matplotlib < 1.0 you will
  53
+    # either need to upgrade to the newest version, or use the fix
  54
+    # suggested here: http://stackoverflow.com/questions/3810865/need-help-with-matplotlib
  55
+
51 56
     # plot clustered pixels in rgb space in the center
52 57
     ax = plt.subplot(132, projection='3d', aspect='equal')
53 58
     #ax.view_init(30, 135)

0 notes on commit 0791e7d

Please sign in to comment.
Something went wrong with that request. Please try again.