Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

decorated labels based on norm #65

Closed
nicolaskruchten opened this issue May 5, 2019 · 5 comments
Closed

decorated labels based on norm #65

nicolaskruchten opened this issue May 5, 2019 · 5 comments

Comments

@nicolaskruchten
Copy link
Contributor

e.g. "percentage of yaxis"

@xueyanisep
Copy link

fig = px.scatter()
fig.update(layout=go.Layout(xaxis=dict(tickformat=".2%")))

Hi, you can use this to change the formatting of axis

@nicolaskruchten
Copy link
Contributor Author

Thanks! I had actually just forgotten to close this issue... it was resolved in 9c005fb :)

@nicolaskruchten
Copy link
Contributor Author

Come to think of it, I'm not sure why I even opened this issue, as that commit dates back to March. I should take less telegraphic notes-to-self :) Maybe I had thought of some edge-case that was being missed.

@nicolaskruchten
Copy link
Contributor Author

Ah, I got it: the current decorated_labels() function looks at histfunc only but not barnorm or any other kind of norm :)

@nicolaskruchten
Copy link
Contributor Author

closed in favour of plotly/plotly.py#2986

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants