Skip to content

Bugged Indicator GIFs #1

@Jechen00

Description

@Jechen00

Panel appears to have a hard time rendering and removing GIF panes when the supplied GIF file is "large" (the file sizes that I have been using are ~200KB). Specifically for the plot loading indicator (labeled obj_loading), this has led to instances where the GIF either doesn't properly load in time or won't be removed from view after being replaced with a Plotly plot in the code.

So far, this appears to only be a problem when serving the application on linux platforms. Additionally, the problem seems to go away when we turn on automatic threading with either the --num-threads=... option of panel serve or the nthreads=... argument of pn.extension() ; however, this then sometimes bug out the non-throttled sliders.

A possible solution for this would be to not use GIFs for custom indicators at all and just resort to Panel's (significantly more boring) pn.indicators objects.

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