Skip to content
Snippets Groups Projects
Commit 15289614 authored by Jon Haitz Legarreta Gorroño's avatar Jon Haitz Legarreta Gorroño
Browse files

STYLE: Fix typo in ElevationBandsWithGlyphs.py function name,

Fix typo in ElevationBandsWithGlyphs.py example function name: change
"WritePMG" to "WritePNG".


Former-commit-id: 26588ce5
parent 27f27b72
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ import vtk
SURFACE_TYPE = {"PLANE", "SPHERE", "PARAMETRIC_SURFACE"}
def WritePMG(ren, fn, magnification=1):
def WritePNG(ren, fn, magnification=1):
"""
Save the image as a PNG
:param: ren - the renderer.
......@@ -391,5 +391,5 @@ if __name__ == '__main__':
iren = DisplaySurface("PARAMETRIC_SURFACE")
iren.Render()
iren.Start()
# WritePMG(iren.GetRenderWindow().GetRenderers().GetFirstRenderer(),
# WritePNG(iren.GetRenderWindow().GetRenderers().GetFirstRenderer(),
# "ElevationBandsWithGlyphs.png")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment