Skip to content

run_sketch description of blocking behavior contradicts code #46

@camblomquist

Description

@camblomquist

Blocking is not supported on OSX. This is because of the (current) limitations of py5 on OSX. If the block parameter is set to True, a warning message will appear and it will be changed to False.

However, attempting to run_sketch with block=False will print the following error

On OSX, blocking is manditory when Sketch is not run through Jupyter. This applies to all renderers.

It appears that the doc is referring specifically to blocking behavior when running through Jupyter on OSX, which is correct according to https://github.com/py5coding/py5generator/blob/main/py5_resources/py5_module/py5/sketch.py#L233

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions