Skip to content

Redraw function seems to be broken #228

Closed
@andrei-ng

Description

@andrei-ng

Reported by @Ionizing in #141

I just migrated to the latest plotly.rs (v0.9.0) [...]

However, after the migration, I find something unexpected:

  1. The height of the graph seems to be fixed to several px instead of 100% of browser window;
  2. The redraw on resize function is broken, I have to refresh the page after the resize to get the graph rendered with new width.

Here are two HTML files: dos.zip

  • the old one is produced by old plotly.rs with plotly.js of v2.2.1;
  • the new one is produced by the latest plotly.rs with plotly.js of v2.12.1.

My machine:

  • macOS 13.5.1 (x86_64)
  • Chrome 127.0.6533.99 Official Build x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions