Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

WegGL Plots Fail to Render in Certain Circumstances #7312

Copy link
Copy link
Closed
@samhinshaw

Description

@samhinshaw
Issue body actions

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 cycleneeded for current cycle

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.