Skip to content

Commit

Permalink
Compatibility with new ggplotd
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackEdder committed Jun 6, 2016
1 parent cd74890 commit 47e9bc2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"excludedSourceFiles": ["source/main.d"],
"targetPath": "bin",
"dependencies": {
"ggplotd": ">=0.9.0",
"ggplotd": ">=0.9.3",
"dunit": "~>1.0.11",
"docopt": ">=0.6.1-b.4"
},
Expand Down
10 changes: 5 additions & 5 deletions source/plotcli/data.d
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ import plotcli.options : Options, OptionRange;
auto aesDefaults()
{
import ggplotd.aes : DefaultValues, merge;
return DefaultValues.merge(Tuple!(double, "x", double, "y",
string, "colour", string, "plotID", string, "type",
return DefaultValues.merge(Tuple!(string, "plotID", string, "type",
string, "plotname", string, "format", string, "xlabel", string, "ylabel",
string, "colourgradient")
( double.init, double.init, "black", "", "point", "plotcli",
"png", "x", "y", "default") );
string, "colourgradient", double, "x", double, "y",
string, "colour", )
( "", "point", "plotcli",
"png", "x", "y", "default", double.init, double.init, "black" ) );
}

private int safeToIndex( string str )
Expand Down

0 comments on commit 47e9bc2

Please sign in to comment.