vtkContextView segfault in python on Windows 10
As per this topic, here's a script to reproduce the crash:
import vtk
chart = vtk.vtkChartXY()
f = vtk.vtkPiecewiseFunction()
f.AddPoint(0, 0.0)
f.AddPoint(500, 1)
pf = vtk.vtkPiecewiseFunctionItem()
pf.SetPiecewiseFunction(f)
chart.AddPlot(pf)
view = vtk.vtkContextView()
view.GetScene().AddItem(chart)
view.GetInteractor().Start()
I have confirmed the issue on Windows 10, Python 3.8. On OS X 10.15, this is issue does not occur.
Edited by T.J. Corona