summaryrefslogtreecommitdiff
path: root/src/cython/doc/pyplots/show_palette_values.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/cython/doc/pyplots/show_palette_values.py')
-rwxr-xr-xsrc/cython/doc/pyplots/show_palette_values.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cython/doc/pyplots/show_palette_values.py b/src/cython/doc/pyplots/show_palette_values.py
index e72a55fd..fdf9645f 100755
--- a/src/cython/doc/pyplots/show_palette_values.py
+++ b/src/cython/doc/pyplots/show_palette_values.py
@@ -1,2 +1,3 @@
import gudhi
-gudhi.show_palette_values(alpha=1.0)
+plt = gudhi.show_palette_values(alpha=1.0)
+plt.show()