Skip to content

subplot layouts break with go.Scatter and go.Scattergl #4375

@stefansjs

Description

@stefansjs

When I plot many subplots, the axes occasionally break. I am using fixed subplot sizes. Occasionally line plots will not plot on their respective subplot axes. You can see the interactive hover actions do work on the axes, but the lines themselves are drawn shifted much higher or lower than the axis. All the go.Heatmap objects seem to graph just fine.

Sometimes I can fix the layout bug by choosing a different axis height, but most values don't fix it so it's a long game of guess-and-check.

audio_diff.html.zip

Screenshot 2023-10-05 at 1 42 38 PM
Screenshot 2023-10-05 at 1 42 46 PM

Google chrome seems to report some errors

Specifying overflow: visible on img, video and canvas tags may cause them to produce visual content outside of the element bounds. See https://github.com/WICG/shared-element-transitions/blob/main/debugging_overflow_on_images.md .
1 source

audio_diff.html:12

One or more documents in this page is in Quirks Mode, which will render the affected document(s) with quirks incompatible with the current HTML and CSS specifications.
Quirks Mode exists mostly due to historical reasons. If this is not intentional, you can add or modify the DOCTYPE to be <!DOCTYPE html> to render the page in No Quirks Mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogbugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions