Skip to content

[Bug] data[type=contour].line width documentation typo #4203

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
mafar opened this issue Sep 19, 2019 · 1 comment · Fixed by #4218
Closed

[Bug] data[type=contour].line width documentation typo #4203

mafar opened this issue Sep 19, 2019 · 1 comment · Fixed by #4218
Assignees

Comments

@mafar
Copy link
Contributor

mafar commented Sep 19, 2019

As per my tests , it seems that
for data[type=contour].line.width
default value is 0.5 instead of documented 2

https://plot.ly/javascript/reference/#contour-line-width

@mafar mafar changed the title [Bug] data[type=contour].line width documentation error [Bug] data[type=contour].line width documentation typo Sep 19, 2019
@etpinard
Copy link
Contributor

Thanks for reporting!

Here are the relevant lines in case someone would like to make a PR:

width: extendFlat({}, scatterLineAttrs.width, {
editType: 'style+colorbars'
}),

coerce('line.width', 0.5);

@etpinard etpinard self-assigned this Sep 25, 2019
etpinard added a commit that referenced this issue Sep 25, 2019
- unset dflt in contour `line.width`, explain default logic in description
- reuse contour `line` declaration in contourcarpet
- set hard dflt in histogram2dcontour `line.width` declaration,
  as histogram2dcontour trace only support level-style contours
  at the moment.
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

Successfully merging a pull request may close this issue.

2 participants