Black Lives Matter. Please consider donating to Black Girls Code today.
Dash Enterprise delivers an incredible 21x cost savings 💸Download the e-book!

Using 'null' in the data to be plotted

I’ve seen some codepens where datapoints in the ‘y axis’ are being replaced by ‘null’, so that they are not plotted, however I can’t find anything about using null in the reference/docs.

Is this acceptable practise?

Example -

Yes null is valid in JSON.
And in Plotly figures it often means skip this point.

1 Like

Thank you, it’s unfortunate that it’s not documented in the Plotly guide to avoid confusion.

cc: @nicolaskruchten