mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-07-11 15:32:42 +02:00
centered the arrows and text for better readability in plt action maps and added colored arrow assets
This commit is contained in:
BIN
marl_factory_grid/utils/plotting/action_assets/green_arrow.png
Normal file
BIN
marl_factory_grid/utils/plotting/action_assets/green_arrow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 455 B |
BIN
marl_factory_grid/utils/plotting/action_assets/grey_arrow.png
Normal file
BIN
marl_factory_grid/utils/plotting/action_assets/grey_arrow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 425 B |
BIN
marl_factory_grid/utils/plotting/action_assets/red_arrow.png
Normal file
BIN
marl_factory_grid/utils/plotting/action_assets/red_arrow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 439 B |
BIN
marl_factory_grid/utils/plotting/action_assets/yellow_arrow.png
Normal file
BIN
marl_factory_grid/utils/plotting/action_assets/yellow_arrow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 443 B |
@ -121,7 +121,7 @@ def plot_routes(factory, agents):
|
||||
|
||||
|
||||
def plot_action_maps(factory, agents):
|
||||
renderer = Renderer(factory.map.level_shape, custom_assets_path={
|
||||
renderer = Renderer(factory.map.level_shape, cell_size=80, custom_assets_path={
|
||||
'green_arrow': 'marl_factory_grid/utils/plotting/action_assets/green_arrow.png',
|
||||
'yellow_arrow': 'marl_factory_grid/utils/plotting/action_assets/yellow_arrow.png',
|
||||
'red_arrow': 'marl_factory_grid/utils/plotting/action_assets/red_arrow.png',
|
||||
|
Reference in New Issue
Block a user