Skip to content

Plotting bars: 'bargap: 0' removes first bar #708

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
elv1s42 opened this issue Jun 30, 2016 · 3 comments · Fixed by #709
Closed

Plotting bars: 'bargap: 0' removes first bar #708

elv1s42 opened this issue Jun 30, 2016 · 3 comments · Fixed by #709
Assignees
Labels
bug something broken

Comments

@elv1s42
Copy link

elv1s42 commented Jun 30, 2016

When using layout option 'bargap: 0' first bar disappears.
Please take a look at this example: https://jsfiddle.net/57b7stne/1/
I am plotting the same trace with two different layouts, first one works fine ('bargap: 0.01'), the second one works wrong ('bargap: 0', first bar disappears)

@elv1s42
Copy link
Author

elv1s42 commented Jun 30, 2016

With 'histogram' trace type everithing works fine

@etpinard
Copy link
Contributor

Thanks very much for the report.

This bug is in fact a regression from v1.2.0.

@etpinard etpinard added the bug something broken label Jun 30, 2016
@etpinard etpinard self-assigned this Jun 30, 2016
@etpinard
Copy link
Contributor

etpinard commented Jun 30, 2016

Ok. bargap: 0 actually spits out an error:

image

On it.

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

Successfully merging a pull request may close this issue.

2 participants