summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mpiv/mp-grap.mpiv3
1 files changed, 2 insertions, 1 deletions
diff --git a/metapost/context/base/mpiv/mp-grap.mpiv b/metapost/context/base/mpiv/mp-grap.mpiv
index d8bcc7cbb..e799f629c 100644
--- a/metapost/context/base/mpiv/mp-grap.mpiv
+++ b/metapost/context/base/mpiv/mp-grap.mpiv
@@ -199,7 +199,8 @@ def begingraph(expr w, h) =
graph_number_of_arrowheads = 0 ;
if known graph_background : % new feature!
- fill origin--(w,0)--(w,h)--(0,h)--cycle withcolor graph_background ;
+ addto graph_finished_graph contour
+ origin--(w,0)--(w,h)--(0,h)--cycle withcolor graph_background ;
fi
enddef ;