From 0f5300c16ebb2b5caf1df443ae29f7cd65fc76ac Mon Sep 17 00:00:00 2001
From: Christian Fobel <christian@fobel.net>
Date: Fri, 8 Apr 2016 13:19:15 -0400
Subject: [PATCH] Fix typo in save_plot 0MQ plugin interface

---
 dstat_interface/plugin.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dstat_interface/plugin.py b/dstat_interface/plugin.py
index 038073a..ebe2493 100644
--- a/dstat_interface/plugin.py
+++ b/dstat_interface/plugin.py
@@ -117,10 +117,10 @@ class DstatPlugin(ZmqPlugin):
         Args
         ----
 
-            save_plot_path (str) : Path to file to save text data.
+            save_plot_path (str) : Path to file to save plot.
         '''
         data = decode_content_data(request)
-        save_text(self.parent.current_exp, data['save_plot_path'])
+        save_plot(self.parent.current_exp, data['save_plot_path'])
 
     def on_execute__acquisition_complete(self, request):
         '''
-- 
GitLab