Skip to content

Faces of Axes3d.bar3d are not oriented correctly #12138

Closed
@eric-wieser

Description

@eric-wieser

All of the faces of the polygons created by bar3d are oriented (using a right-hand rule on the vertex order) in the positive axis directions. As a result, the shading used by shade=True is incorrect, as it shades both the front and back faces with the same brightness.

Rotating the hist3d demo, we can see the left and right faces of the bars are the same color:

image

image

The fix is fairly straightforward, thankfully

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions