Black Lives Matter. Please consider donating to Black Girls Code today.

Plolty example data attribute value not found in JSON schema

Hi,

I am generating Scala code based on the JSON schema that allows me to read and write Plotly JSON. I picked the Violin (https://plot.ly/javascript/violin/) for my first test. In one of the examples we have data with the attribute:

points: 'none'

But the schema points is an enumerated that only has the values:

  • “all”
  • “outliers”
  • “suspectedoutliers”
  • false

So my question is: is this a schema error, example error or is “none” a valid input for any enumerate?

TIA

See https://github.com/plotly/plotly.js/issues/4617

Thank you for the answers in Github. Closed the issue.