File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ unittest
9292void draw (Appender! (typeof (aesDefaults())[]) aes)
9393{
9494 import std.range : empty, front;
95- import ggplotd.ggplotd : title, GGPlotD;
95+ import ggplotd.ggplotd : GGPlotD;
9696 import ggplotd.aes : group;
9797 import ggplotd.axes : xaxisLabel, yaxisLabel;
9898 import ggplotd.colour : colourGradient;
@@ -103,7 +103,7 @@ void draw(Appender!(typeof(aesDefaults())[]) aes)
103103 version (plotcliGTK)
104104 {
105105 import core.thread : Thread ;
106- import ggplotd.ggplotd : Facets;
106+ import ggplotd.ggplotd : title, Facets;
107107 import ggplotd.gtk : GTKWindow;
108108 static GTKWindow[string ] windows;
109109 auto facets = Facets();
@@ -125,11 +125,12 @@ void draw(Appender!(typeof(aesDefaults())[]) aes)
125125 gg.put(discreteLegend);
126126 }
127127 gg.put( geomType ( ps ) );
128- gg.put( title ( ps.front.plotname ) );
129128 version (plotcliGTK)
130129 {
131130 if (ps.front.format == " gtk" )
132131 {
132+ gg.put( title (
133+ ps.front.plotname ~ " _" ~ ps.front.plotID) );
133134 facets.put( gg );
134135 } else {
135136 gg.save(ps.front.plotname ~ ps.front.plotID ~ " ." ~
You can’t perform that action at this time.
0 commit comments