Announcing Dash Bio 1.0.0 🎉 : a one-stop-shop for bioinformatics and drug development visualizations.

Range slider loads layout error for numpy.int64 type

FYI: the range slider had me scratching my head for way too long. The issue was that I set the maximum ‘mark’ on the slider as the max value from my dataset. The dataset had it stored as a numpy.int64 type. All I had to do was force convert to an int. But I had no idea because I never got any error telling me anything.

Since the rangeslider does not support numpy.int64 values in the marks why not add code on the backend to convert everything to appropriate values? or add a conversion for this type? or a catchall for types that failed and print a message to indicate what was changed? Would have saved me a loooot of trouble.