Skip to content

incorrect bar chart label shown in documentation #5129

@Mafieuu

Description

@Mafieuu

The label is incorrect because the data only concerns Oceania.

Source: https://plotly.com/python/bar-charts/

import plotly.express as px
df = px.data.gapminder().query("continent == 'Oceania'")
fig = px.bar(df, x='year', y='pop',
             hover_data=['lifeExp', 'gdpPercap'], color='country',
             labels={'pop':'population of Oceania'}, height=400)
fig.show()```

Metadata

Metadata

Assignees

Labels

P1needed for current cyclebugsomething brokendocumentationwritten for humans

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