Commit a23b497a authored by Houtan Bastani's avatar Houtan Bastani
Browse files

bug fix: none instead of pdf to graph_format

parent df4f82de
......@@ -54,6 +54,10 @@ if any(strcmp('fig',cellstr(DynareOptions.graph_format)))
saveas(h,[fname '.fig']);
end
end
if any(strcmp('none',cellstr(DynareOptions.graph_format)))
% don't save
% check here as a reminder that none is an option to graph_format
end
if DynareOptions.nodisplay
close(h);
end
......@@ -2262,7 +2262,7 @@ allowed_graph_formats : EPS
| PDF
{ driver.add_graph_format("pdf"); }
| NONE
{ driver.add_graph_format("pdf"); }
{ driver.add_graph_format("none"); }
;
list_allowed_graph_formats : allowed_graph_formats
| list_allowed_graph_formats COMMA allowed_graph_formats
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment