Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Wrong y-values when using bar graph #180

@m23chaffee

Description

@m23chaffee

I'm trying to make a bar graph using this data value:
image

however, when I plot it using plotly express, some of the values are getting doubled, or tripled and it is being stacked together like this:
image

I'm checking every documentation for error but it seems I am the first one to encountered it.

Here's the source code for the graph:

`#putting user interface using plotly

fig = px.bar(alloy,
x = "Alloy Number",
y = "Elastic Modulus",
barmode = 'group',
width = 1000,
height =500,
color_discrete_sequence = px.colors.qualitative.Pastel,
)
fig.show()`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions