Commits

Matthew Turk  committed df11c94

Fixing projections, which were previously using just the x-spec for the y/z coordinates.

  • Participants
  • Parent commits 57db505

Comments (0)

Files changed (1)

File yt/data_objects/construction_data_containers.py

         else:
             w = np.ones(chunk.size, dtype="float64")
         icoords = chunk.icoords
-        i1 = icoords[:,0]
-        i2 = icoords[:,1]
+        i1 = icoords[:,x_dict[self.axis]]
+        i2 = icoords[:,y_dict[self.axis]]
         ilevel = chunk.ires
         tree.add_chunk_to_tree(i1, i2, ilevel, v, w)