Skip to content

Axis nticks description is wrong #659

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
yankev opened this issue Jun 17, 2016 · 3 comments
Closed

Axis nticks description is wrong #659

yankev opened this issue Jun 17, 2016 · 3 comments

Comments

@yankev
Copy link
Contributor

yankev commented Jun 17, 2016

http://codepen.io/plotly/pen/92268ebeb73d75262fbebfdcd8e64450?editors=1010

In the example there are 18 data points, and nticks (for the x-axis) has to be set to 19 before there is one tick per bar.
Other values for tick < 19 result in other unexpected behaviour.

@etpinard
Copy link
Contributor

Same issue as #614

nbins and nticks (and ncontours) for that matter use the same algorithm.

This is the intended behaviour, not a bug.

We should change the description here though.

@etpinard etpinard changed the title nticks doesn't appear to correspond to the number of ticks on the plot axis Axis nticks description is wrong Jun 17, 2016
@cldougl
Copy link
Member

cldougl commented Jun 17, 2016

and here then as well

@etpinard
Copy link
Contributor

fixed in #662

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

3 participants