summaryrefslogtreecommitdiffstats
path: root/ds9/library/plotdialog.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'ds9/library/plotdialog.tcl')
-rw-r--r--ds9/library/plotdialog.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/library/plotdialog.tcl b/ds9/library/plotdialog.tcl
index 4a03f3a..65cad6b 100644
--- a/ds9/library/plotdialog.tcl
+++ b/ds9/library/plotdialog.tcl
@@ -614,7 +614,7 @@ proc PlotExport {varname fn format} {
# besure we are on top
raise $var(top)
- set rr [catch {image create photo -format window -data $var(frame)} ph]
+ set rr [catch {image create photo -format window -data $var(graph)} ph]
if {$rr} {
Error $iap(error)
return