In gym.envs.classic_control.rendering, Geom has a color attribute,
which is initialized as black. This is a good default for most Geom
subclasses, such as lines and circles. However, in the case of Image
instances, the result is a completely black image - in the case of an
image without transparency, the result is a black square. This can be
easily fixed by setting the default color for Image instances as white,
which causes images to be displayed normally.
* pyglet GL context for SimpleImageViewer case
* typo fxd 'viewer_type' argument in get_window()
* use **kwargs in get_window()
* remove viewer_type from Viewer class
fixed close() method for Viewer to be consistent with SimpleImageViewer(), otherwise I get the same error:
```
Exception ignored in: <bound method Viewer.__del__ of <gym.envs.classic_control.rendering.Viewer object at 0x112ea2f60>>
Traceback (most recent call last):
File "/Users/hadavid/anaconda/lib/python3.6/site-packages/gym/envs/classic_control/rendering.py", line 162, in __del__
File "/Users/hadavid/anaconda/lib/python3.6/site-packages/gym/envs/classic_control/rendering.py", line 81, in close
File "/Users/hadavid/anaconda/lib/python3.6/site-packages/pyglet/window/cocoa/__init__.py", line 277, in close
File "/Users/hadavid/anaconda/lib/python3.6/site-packages/pyglet/window/__init__.py", line 820, in close
ImportError: sys.meta_path is None, Python is likely shutting down
```
* remove reraise logic - replace with re-raising import errors in the only place it is used
* remove reraise
* remove reset call from MountainCar constructor
* further remove reraise
* remove reraise import in classic_control/rendering.py
- enable atari env to use full action set of 18
- modify rendering.py to prevent some bad stack traces upon closing
- enable dict space to be more concisely specified as spaces.Dict(a=Box(…),…)
* add dtype to Box
* remove board_game, debugging, safety, parameter_tuning environments
* massive set of breaking changes
- remove python logging module
- _step, _reset, _seed, _close => non underscored method
- remove benchmark and scoring folder
* Improve render("human"), now resizable, closable window.
* get rid of default step and reset in wrappers, so it doesn’t silently fail for people with underscore methods
* CubeCrash unit test environment
* followup fixes
* MemorizeDigits unit test envrionment
* refactored spaces a bit
fixed indentation
disabled test_env_semantics
* fix unit tests
* fixes
* CubeCrash, MemorizeDigits tested
* gym backwards compatibility patch
* gym backwards compatibility, followup fixes
* changelist, add spaces to main namespaces
* undo_logger_setup for backwards compat
* remove configuration.py
* Add configure method to Env, and support multiple displays in CartPole
This allows people to pass runtime specification which doesn't affect
the environment semantics to environments created via `make`.
Also include an example of setting the display used for CartPole
* Provide full configure method
* Allow environments to require configuration
* Don't take arguments in make