Skip to content

WegGL Plots Fail to Render in Certain Circumstances #7312

@samhinshaw

Description

@samhinshaw

In certain conditions (see below), plotly.js fails to render webgl plots because the canvas height is 0.

Conditions to Reproduce

  • the plot must be configured to use webgl (e.g. "scatter3d" trace type)
  • there must NOT be a height specified in the plot's config
  • virtual-webgl must be loaded on the page before plotly.js
  • the graph div must be wrapped in a parent which:
    • has a height set in px (e.g. height: 400px;)
    • is not set to display: inline;
  • the graph div must have set a height set in any units (e.g. height: 100%;, height: 400px;)
  • the graph configuration must have responsive set (responsive: true)

Additional Information

Metadata

Metadata

Assignees

Labels

P1needed for current cycle

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy