Commits

Sam Skillman  committed 3e61476

Only return the [:,:,0] part of the image from a projection camera.

  • Participants
  • Parent commits 0a1f027

Comments (0)

Files changed (1)

File yt/visualization/volume_rendering/camera.py

     if weight is not None:
         pf.field_info.pop("temp_weightfield")
     del projcam
-    return image
+    return image[:,:,0]