Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea375d4

Browse files
authored
Merge pull request plotly#1119 from plotly/color_array_reference
add color to list of val types which can be arrays in full reference pages
2 parents 7d5b2ff + 7032a2d commit ea375d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_includes/reference-block.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
{% endif %}
5555
{% elsif obj[1].valType == "info_array" %}
5656
(<code>{array}</code>)
57+
{% elsif obj[1].valType == "color" %}
58+
(<code>{{ obj[1].valType }}{% if obj[1].arrayOk %} or array of {{ obj[1].valType }}s{% endif %}</code>)
5759
{% elsif obj[1].valType == "any" %}
5860
(<code>number or categorical coordinate string</code>)
5961
{% elsif obj[1].valType == "string" %}

0 commit comments

Comments
 (0)