summaryrefslogtreecommitdiff
path: root/cython/doc/pyplots/show_palette_values.py
diff options
context:
space:
mode:
Diffstat (limited to 'cython/doc/pyplots/show_palette_values.py')
-rwxr-xr-xcython/doc/pyplots/show_palette_values.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cython/doc/pyplots/show_palette_values.py b/cython/doc/pyplots/show_palette_values.py
index e72a55fd..fdf9645f 100755
--- a/cython/doc/pyplots/show_palette_values.py
+++ b/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()