Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

gridLines not appearing at the extreme values of the X & Y axis

Gridlines are not appearing at the extreme values of the X & Y axis. I’m using range attribute to control the range.

Below is the codePen link & Image:

Url: https://codepen.io/sriram15690/pen/MqPmNK

Hmm, we clip grid lines that don’t completely fall within the plot area - this might be the situation here.

Increasing the yaxis.range should resolve to just beyond [-50, 50] (e.g [-51, 51]) should make things looks the way you want.