Skip to content

possible typo in the documentation #886

@VeKe-1234

Description

@VeKe-1234

Apologies if this structure is not great, I am pretty sure this is my first time raising a public issue, so bear with me!

In the first section of test code in the section fastplotlib basics, displayed in fastplotlib's documentation, shown on this page, the final if __main__ clause contains a call of the function fpl.run()

After successfully following the installation instructions, this final line gives an error AttributeError: module 'fastplotlib' has no attribute 'run'. After reveiwing the github code, replacing this line with fpl.loop.run() appears to fix the issue, and the code runs as intended, producing the astronaut.png in a new window.

Unless I have missed something, I assume this is a typo in the documentation? If not, I can always provide more details about my code environment if the error needs to be reproduced.

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