Skip to content

histogram with barlabels #2238

Closed
Closed
@lucanics

Description

@lucanics

Hi,

For plotly.express, I cannot find a way to add barlabels to a histogram. None of the examples on this page - https://plot.ly/python/histograms/ - provide barlabels either. Here is one example:

import plotly.express as px
df = px.data.tips()
fig = px.histogram(df, x="total_bill")
fig.show()

image

It works fine with barcharts, tough:
image

Is there a way to add barlables to histograms?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions