Commits

Cameron Hummels committed 89f4db1

Fixing bug in cookbook entry for grid and box VR

  • Participants
  • Parent commits ecd29bc

Comments (0)

Files changed (1)

File source/cookbook/rendering_with_box_and_grids.py

 
 # Add the domain edges, with an alpha blending of 0.3:
 cam.draw_domain(im, alpha=0.3)
-write_bitmap('%s_vr_domain.png' % pf)
+write_image(im, '%s_vr_domain.png' % pf)
 
 # Add the grids, colored by the grid level with the algae colormap
 cam.draw_grids(im, alpha=0.3, cmap='algae')
-write_bitmap('%s_vr_grids.png' % pf)
+write_image(im, '%s_vr_grids.png' % pf)