<div dir="ltr"><div>I will correct my discussion of the polar plot example.<br></div><div><br></div><div>I'll add something to the discussion of block comments. Re. Ryan's point that it is hard to <span style="color:rgb(0,0,0);font-size:12.8px">exclude block commented code from greps/regex: This is equally true of doc strings, and no one is suggesting that we stop using these.</span></div><div><span style="color:rgb(0,0,0);font-size:12.8px"><br></span></div><div><span style="color:rgb(0,0,0);font-size:12.8px">Is there any plan to incorporate a layout engine into matplotlib?</span></div><div><span style="color:rgb(0,0,0);font-size:12.8px"><br></span></div><div>Phillip<br></div><div><br></div><div>P.S. I want to thank everyone for the thoughtful responses.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 10, 2016 at 9:12 AM, Ryan May <span dir="ltr"><<a href="mailto:rmay31@gmail.com" target="_blank">rmay31@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">A point in favor of not using block comments is that it is *much* harder to exclude block commented code from greps/regex. If you comment every line, that makes excluding those lines trivial.<div><br></div><div>Ryan</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Feb 10, 2016 at 9:41 AM, Joe Kington <span dir="ltr"><<a href="mailto:joferkington@gmail.com" target="_blank">joferkington@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div class="gmail_extra"><span><div class="gmail_quote"><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div> Ctrl + / should comment out a chunk of text on most editors that I've used (Save for e.g., vim).</div></blockquote><span></span><br></div></span><div class="gmail_quote">And it's pretty trivial to set up in vim (note that you'd tupically customize comment marker on a per-language basis through an autocmd function). This maps commenting out a block to "-" and uncommenting to "_":<br><br><div style="margin-left:40px"><span style="font-family:monospace,monospace">" Clear all comment markers (one rule for all languages)<br>map _ :s/^\/\/\\|^--\\|^> \\|^[#"%!;]//<CR>:nohlsearch<CR><br>"Insert comment markers (assumes # unless overridden) <br>map - :s/^/#/<CR>:nohlsearch<CR> <br><br></span></div>There are also smarter options through various plugins, as well.<br><br></div><div class="gmail_quote">At any rate, block commenting isn't something I've ever missed or felt was a limitation in any way, though that's just my $0.02.<br><br></div><div class="gmail_quote">Cheers,<br></div><div class="gmail_quote">-Joe<br></div><div class="gmail_quote"><span style="font-family:monospace,monospace"></span></div></div></div>
<br></div></div><span class="">_______________________________________________<br>
Matplotlib-devel mailing list<br>
<a href="mailto:Matplotlib-devel@python.org" target="_blank">Matplotlib-devel@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-devel" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-devel</a><br>
<br></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>Ryan May<br><br></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
Matplotlib-devel mailing list<br>
<a href="mailto:Matplotlib-devel@python.org">Matplotlib-devel@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-devel" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-devel</a><br>
<br></blockquote></div><br></div>