I'm going through some plot_ly examples and I was surprised to see that the histogram plot does not outline the bars of the histogram.
Here is the code:
x.data <- 1:20
plot_ly(
x = x.data,
type="histogram",
histnorm = "probability",
nbinsx = 20
)
Which results in this:
I'm looking to have it display similar to this, with visible outlines:
I've looked through the documentation here but can't quite work out how to add outlines to the bars. Any help would be greatly appreciated.

