Commit 85812c7b authored by Dan Lipsa's avatar Dan Lipsa

Use NormalizedDisplay as for displaying the text.

NormalizedViewport creates slightly offset lines.
parent 06701a4d
......@@ -245,7 +245,7 @@ Grid.SetPoints(Pts)
Grid.SetLines(Lines)
# Set up the coordinate system.
normCoords = vtk.vtkCoordinate()
normCoords.SetCoordinateSystemToNormalizedViewport()
normCoords.SetCoordinateSystemToNormalizedDisplay()
# Set up the mapper and actor (2D) for the grid.
mapper = vtk.vtkPolyDataMapper2D()
mapper.SetInputData(Grid)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment