<div dir="auto">Thank you Anna I did not noticed the underscor...<br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On 19 Feb 2018 4:41 p.m., "Jonathan Reith" <<a href="mailto:reith@mundialis.de">reith@mundialis.de</a>> wrote:<blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF"><blockquote><p>
          print(compregion)<br>
          g.region(compregion,res="1", flags="p")</p></blockquote></div></blockquote></div></div><div dir="auto">you are hassling the dictionary to a region, but you have to unpack the dictionary just write:</div><div dir="auto"><br></div><div dir="auto">...</div><div dir="auto"><br></div><div dir="auto"><span style="font-family:sans-serif">g.region(res="1", flags="p", **compregion)</span><br></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif">the two * unpack the dictionary.</span></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif">Have fun!</span></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif">Pietro</span></div></div>