Skip to content

Help with sliders for visualization #2669

Answered by quaquel
JJC022 asked this question in Q&A
Discussion options

You must be logged in to vote

You are using arguments rather than keyword arguments. This most likely explains the problem. You also don't include seed, which is a bad idea because it makes your model not reproducible. Please change it to the signature below and let us know if that solves the problem.

def __init__(self, width=10, height=10, num_pedestrians=1, num_vehicles=1, seed=None):
        super().__init__(seed=seed)

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@JJC022
Comment options

@quaquel
Comment options

@JJC022
Comment options

@quaquel
Comment options

Answer selected by Sahil-Chhoker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants