Skip to content

Plotly Figure scale not respected for Mesh3d figure #2786

@GalTechDev

Description

@GalTechDev

Context

dash                         2.15.0
dash-core-components         2.0.0
dash-html-components         2.0.0
dash-table                   5.0.0
  • OS : Windows 10
  • Browser : Opera GX (core: 107.0.5045.37)
  • Python : 3.10.11

The bug

I am encountering an issue with the scaling of axes in a 3D plot created using Dash and Plotly. Specifically, I have created a Mesh3d figure with dimensions of 2 by 2 by 2. However, upon visualization, it is apparent that the scaling of the y-axis is not accurately represented. Despite the grid displaying the correct values, the y-axis appears significantly smaller than the other axes.

This happen when I switch from a Scatter3d figure to a Mesh3d figure

Expected behavior

The scaling of all axes (x, y, and z) should accurately represent the dimensions of the figure, with each axis spanning from -1 to 1.

Screenshots
Initial (Expected) :
image

Switch to Scatter3d
image

Switch back to Mesh3d
image

image

Video

2024-03-07.13-48-08.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogbugsomething brokensev-4cosmetic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions