Trying out vispy but have issues getting the grid to be setup correctly, can someone guide aid me what im doing wrong?
vispy/examples/demo/scene/picking.py
# create figure with plot
fig = vp.Fig()
plt = fig[0, 0]
plt._configure_2d()
plt.title.text = 'Current Clamp Recording'
plt.ylabel.text = 'Membrane Potential (mV)'
plt.xlabel.text = 'Time (ms)'
grid = vp.visuals.GridLines(color=(0 , 0, 0, 0.5))
grid.set_gl_state('translucent')
plt.view.add(grid)
selected = None
This will enable the grids above the graph data but the point, that is selected will actually be shown above the grid, but not the actual line.
Seems something to do with layer of rendering.
Have a nice day!