Skip to content

Barchart string labels not displayed after 1001th #450

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
silicium14 opened this issue Apr 28, 2016 · 1 comment
Closed

Barchart string labels not displayed after 1001th #450

silicium14 opened this issue Apr 28, 2016 · 1 comment

Comments

@silicium14
Copy link

  • Plotly python version : 1.9.5

When a barchart has 1001+ string labels, the labels after the 1001th are not displayed on the axis.
Here is a capture of the top of the graph generated by the python script below.

graph top missing labels

import plotly.offline
import plotly.graph_objs as go

n = 1005
trace = go.Bar(
    y=["Label {}".format(i+1) for i in range(n)],
    x=[1.0]*n,
    orientation="h",
)
layout = go.Layout(
    height=30*n,
    width=600
)

plotly.offline.plot(
    go.Figure(data=[trace], layout=layout),
)
@etpinard
Copy link
Contributor

@silicium14 Thanks for writing in.

This is an issue with plotly.js; please subscribe to plotly/plotly.js#484 for the latest development info.

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

No branches or pull requests

2 participants