diff --git a/dstat_interface/plugin.py b/dstat_interface/plugin.py index 038073a397749ab7cab898e87b0ec21318d8601b..ebe2493324f4a2dc449128aace59ef83c6f0d506 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): '''