We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f91074f commit 043153dCopy full SHA for 043153d
1 file changed
source/plotcli/draw.d
@@ -92,7 +92,7 @@ unittest
92
void draw(Appender!(typeof(aesDefaults())[]) aes)
93
{
94
import std.range : empty, front;
95
- import ggplotd.ggplotd : GGPlotD;
+ import ggplotd.ggplotd : title, GGPlotD;
96
import ggplotd.aes : group;
97
import ggplotd.axes : xaxisLabel, yaxisLabel;
98
import ggplotd.colour : colourGradient;
@@ -125,6 +125,7 @@ void draw(Appender!(typeof(aesDefaults())[]) aes)
125
gg.put(discreteLegend);
126
}
127
gg.put( geomType( ps ) );
128
+ gg.put( title( ps.front.plotname ) );
129
version(plotcliGTK)
130
131
if (ps.front.format == "gtk")
0 commit comments