Popular Python recipes tagged "layout"http://code.activestate.com/recipes/langs/python/tags/layout/2017-01-28T00:28:56-08:00ActiveState Code RecipesTkinter beautiful handler for pannedwindow (Similar to jQuery Layout) (Python) 2017-01-28T00:28:56-08:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580728-tkinter-beautiful-handler-for-pannedwindow-similar/ <p style="color: grey"> Python recipe 580728 by <a href="/recipes/users/4189907/">Miguel Martínez López</a> (<a href="/recipes/tags/handle/">handle</a>, <a href="/recipes/tags/layout/">layout</a>, <a href="/recipes/tags/panedwindow/">panedwindow</a>, <a href="/recipes/tags/tkinter/">tkinter</a>). Revision 7. </p> <p>The default handler of pannedwindow is replaced by a rectangle with the color and size that the user wants.</p> <p>It's similar to jquery Layout plugin: <a href="http://layout.jquery-dev.com/" rel="nofollow">http://layout.jquery-dev.com/</a></p> An alternative way to draw parallels and meridians with basemap (Python) 2013-01-05T15:59:24-08:00PGhttp://code.activestate.com/recipes/users/4184598/http://code.activestate.com/recipes/578399-an-alternative-way-to-draw-parallels-and-meridians/ <p style="color: grey"> Python recipe 578399 by <a href="/recipes/users/4184598/">PG</a> (<a href="/recipes/tags/layout/">layout</a>, <a href="/recipes/tags/map/">map</a>, <a href="/recipes/tags/plots/">plots</a>, <a href="/recipes/tags/plotting/">plotting</a>). Revision 2. </p> <p>Basemap is a toolkit of matplotlib used to plot geographic maps.</p> <p>With this function you can:</p> <ul> <li><p>Draw the latitude/longitude grid easily in one line of code, specifying the lat/lon intervals.</p></li> <li><p>Use rcParams, so all your figures will look more consistent.</p></li> <li><p>Specify the label pad <em>in points</em> (instead of projection units).</p></li> <li><p>Place the labels indicating which margins will be used.</p></li> </ul>