From f06a806854deeb2bb50324045a10b4a593927655 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Thu, 31 Aug 2017 15:03:35 +0200 Subject: [PATCH] Moved the font specification to the dot command line arguments. --- agtree2dot.py | 4 ---- mlp.pdf | Bin 16969 -> 10377 bytes mlp.py | 9 ++++++++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/agtree2dot.py b/agtree2dot.py index 4eef05a..24d5f85 100755 --- a/agtree2dot.py +++ b/agtree2dot.py @@ -103,10 +103,6 @@ def fill_graph_lists(u, node_labels, node_list, link_list): def print_dot(node_list, link_list, out): out.write('digraph{\n') - out.write(' graph [fontname = "helvetica"];\n') - out.write(' node [fontname = "helvetica"];\n') - out.write(' edge [fontname = "helvetica"];\n') - for n in node_list: node = node_list[n] diff --git a/mlp.pdf b/mlp.pdf index ee3ebb37214041d50d114ab4201fef1f2896a2ba..a72a3b70687ad164866a8d9c761fb5858f00c7c2 100644 GIT binary patch delta 9137 zcmaKxbx<7L^7n&Fu;9+(F1w2@9xS-KB)Gf#KyZRU4sRe;Ig=D(BK3JmS6JR z``)Tsx9Xj#>C^L_&*{^rYtCOi6owG3o~QzhRITu1t=_XYG=#*`X`EW3p(7%X<&XV% z%K;b3UOS+-O~NhkJN#|5+^Hz(KA1quc&W zcjQO0PR&!{&zef(Z(Fe}Vv;)Z@{+F_p@(Fg*QNfyVj5!omP6Dhi2T&Vm_2nQbg4yw zRCNjRPYKiNyHnqsKDd8~9f{(5?V;=+)I=FM?kVCKOgD*}^)UcT$Wq8hquBlC_OY9C zKU1jv^z}6^Qqfbw=Cd!qA)wTE7-L)!Xu{9SZO{sp}=m4x*X={TK#F>L`8tl0cQx$Y%J-fTAO#kh`Eof40iJ#9Q!0(I*ZFcKe!zxyFf0rqDSM;N6TUZ#hbWCMZ8>+aCBht|%<+3bn zvTR!HOaCn{F2ITB#OaDbr(p-ztG|yq#hWkD3 zOlF=<36p1Khs}(U9uN;?Qcak;iYs=e#~WK5CG!)S@LOZ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xUBbR*pSie=Vb`oxL zxXk!h9ltt|_Y3Nuxm&>*e6d3l-18V`ldev=p&Dr#h&El{Wu3gvEYn=>c6|*`8j$;o zvL&sEI(!WGG^+FdF3g9{=~_9>s^RymRCjqohXF_#KA*qP!zGT(92!f4FAdvX8~Ku^ zRPTJReE|I`JH>Z3e?zM|iMOqv6kI;M)47E!;bf(h(|Vf-V&&8?fZuNsS)rC|#v6?zB%tU$(iNU}Pp&mu9?Vx>TL^>4^4$ z5wj#H*2z%$KI{|0`g?XcP2WIJp6YJg6bLe6P>vJ|GH!86aT#50O*%yz2U8C>H4{g9 z22~3ykN@svlC(FmawBH{AKS^%T~yS`n^=#SfrX2mn1Pj>gP4Vxm6e!>gDqv6jD&*Y ze>OmgTez87IJ*B=@Lx|c6K81)8!Kz~|0*%asZs>UIca>HE&gW;G0W|5wY+ z#`b@C|Nk|dEG+*E!c6=>@&7+sVg8>8|7r36u~`50{@>j{j+OSG`JeFrOIrUZw*Mgi zq5mcFKdxM?to2}&e4scioNWJz^`C>-kr?j31~Us68&`@Z6-9~~6&k?8!Oiop7yp}r zoBjXrVrAz1*Ps8Fj)jATo#X$+IC=gLjPu{5=l|}@$??yZ^8X!>lb!Y7qx#=44tAat UR%&^8PEKZ4I0_00B}usdAAL>)0ssI2 diff --git a/mlp.py b/mlp.py index 21a772c..963e7b7 100755 --- a/mlp.py +++ b/mlp.py @@ -61,7 +61,14 @@ agtree2dot.save_dot(loss, print('Generated mlp.dot') try: - subprocess.check_call(['dot', 'mlp.dot', '-Lg', '-T', 'pdf', '-o', 'mlp.pdf' ]) + fontname='Computer Modern' + fontsize=12 + subprocess.check_call(['dot', 'mlp.dot', + '-Lg', + '-T', 'pdf', + '-Efontname=' + fontname, '-Efontsize=' + str(fontsize), + '-Nfontname=' + fontname, '-Nfontsize=' + str(fontsize), + '-o', 'mlp.pdf' ]) except subprocess.CalledProcessError: print('Calling the dot command failed. Is Graphviz installed?') sys.exit(1) -- 2.39.5