rldurham.render

rldurham.render(env, clear=False, axis_off=True, show=True, sleep=0)[source]

Helper function for rendering environments. The RGB array is shown with plt.imshow.

Parameters:
  • env – environment to render

  • clear – clear output in IPython notebooks before rendering

  • axis_off – don’t show axes

  • show – call plt.show

  • sleep – add time delay after rendering