Skip to content

support texttemplate #21

Description

@thomas-saigre

For instance this figure

import plotly.express as px
df = px.data.tips()
fig = px.histogram(df, x="total_bill", y="tip", histfunc="avg", nbins=8, text_auto=True)
fig.show()

results is a figure with the following attirbute :
fig.data[0].texttemplate = '%{value}',
resulting in a display of the values in the plotly figure.

I have not yet looked into it, but I'm sure that texttemplate can do more than that !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions