summaryrefslogtreecommitdiffstats
path: root/ds9
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-10-18 21:02:46 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-10-18 21:02:46 (GMT)
commit61cc3c6080e161340c2b6b5fef4e1873e64ecff6 (patch)
treec344e0e9fb904cbd10b522fe418f4316ddc57f6b /ds9
parent26575b5a2c11908f7578ff65a554eb0070213fea (diff)
downloadblt-61cc3c6080e161340c2b6b5fef4e1873e64ecff6.zip
blt-61cc3c6080e161340c2b6b5fef4e1873e64ecff6.tar.gz
blt-61cc3c6080e161340c2b6b5fef4e1873e64ecff6.tar.bz2
add support for MacOS darkmode
Diffstat (limited to 'ds9')
-rw-r--r--ds9/library/print.tcl36
1 files changed, 0 insertions, 36 deletions
diff --git a/ds9/library/print.tcl b/ds9/library/print.tcl
index 8576528..1187687 100644
--- a/ds9/library/print.tcl
+++ b/ds9/library/print.tcl
@@ -130,14 +130,6 @@ proc PostScript {} {
$ff postscript resolution $res
}
- # graphs
- if {$view(graph,vert)} {
- $ds9(graph,vert) configure -plotbackground white -bg white
- }
- if {$view(graph,horz)} {
- $ds9(graph,horz) configure -plotbackground white -bg white
- }
-
# now invoke canvas postscript command
if {[catch {eval $ds9(canvas) postscript $options} rr]} {
Error "[msgcat::mc {A postscript generation error has occurred}] $rr"
@@ -151,16 +143,6 @@ proc PostScript {} {
}
}
}
-
- # reset graphs
- if {$view(graph,vert)} {
- $ds9(graph,vert) configure \
- -plotbackground $ds9(plot,bg) -bg $ds9(plot,bg)
- }
- if {$view(graph,horz)} {
- $ds9(graph,horz) configure \
- -plotbackground $ds9(plot,bg) -bg $ds9(plot,bg)
- }
}
proc EPS {fn} {
@@ -211,28 +193,10 @@ proc EPS {fn} {
$ff postscript resolution $resolution
}
- # graphs
- if {$view(graph,vert)} {
- $ds9(graph,vert) configure -plotbackground white -bg white
- }
- if {$view(graph,horz)} {
- $ds9(graph,horz) configure -plotbackground white -bg white
- }
-
# now invoke canvas postscript command
if {[catch {eval $ds9(canvas) postscript $options} rr]} {
Error "[msgcat::mc {A postscript generation error has occurred}] $rr"
}
-
- # reset graphs
- if {$view(graph,vert)} {
- $ds9(graph,vert) configure \
- -plotbackground $ds9(plot,bg) -bg $ds9(plot,bg)
- }
- if {$view(graph,horz)} {
- $ds9(graph,horz) configure \
- -plotbackground $ds9(plot,bg) -bg $ds9(plot,bg)
- }
}
proc PostScriptPageSize {xx yy ww hh unit optname} {