about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gn3/api/heatmaps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/heatmaps.py b/gn3/api/heatmaps.py
index 1b04a95..632c54a 100644
--- a/gn3/api/heatmaps.py
+++ b/gn3/api/heatmaps.py
@@ -35,7 +35,7 @@ def clustered_heatmaps():
                                    traits_fullnames,
                                    current_app.config["GENOTYPE_FILES"],
                                    vertical=vertical,
-                                   current_app.config["TMPDIR"])
+                                   tmpdir=current_app.config["TMPDIR"])
             figure.write_json(io_str)
             fig_json = io_str.getvalue()
         return fig_json, 200