<div dir="ltr"><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div>So,  thinking cap on...</div><div><br></div><div>This separate mpltable package does have some distinct advantages in terms of making any switch, for everyone I think.</div><div><br></div><div>When you are ready to switch make mpltable a dependency and import from that.</div><div><br></div><div>Or use it interactively, just import the mpltable.table then I think it is just axes.add_table(table) you have to use.</div><div><br></div><div>The problem (?) with tables is everyone has an opinion how they should look, so things can get out of control, quickly.  Exporting that into a side discussion is a good idea.</div><div><br></div><div>Which is part of the problem with the current flurry of changes: there are a lot of variants and options to consider.   It would be very helpful to have the freedom to worry less about whose code we break.</div><div><br></div><div>It solves another problem, which is where to document some of the history, which is another sideshoot.</div><div><br></div><div>And explain the bits of the code I now think I understand.</div><div><br></div><div>That would be an awesome way to go forward.</div><div><br></div><div>Thanks for the understanding.</div><div><br></div><div>Johnny</div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 13, 2019 at 12:04 PM Thomas Caswell <<a href="mailto:tcaswell@gmail.com">tcaswell@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>John,</div><div><br></div>I will also add that if you want to got the stand-alone package route we can put the repo under the Matplotlib org and give you full control of it.<div><br></div><div>Tom</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 13, 2019 at 11:51 AM Antony Lee <<a href="mailto:antony.lee@institutoptique.fr" target="_blank">antony.lee@institutoptique.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi John,<br><br>Thanks for your writeup.  It provides an interesting historical view on one of the oldest parts of the Matplotlib codebase, which is always nice read about.<br><br>It is great that you intend to work again on table.py (which was mostly abandoned by the other core devs), but I am not sure to what extent the new API you propose has been stabilized, or whether you are still experimenting with it.  There are also other issues with the API design (e.g. <a href="https://github.com/matplotlib/matplotlib/issues/12931" target="_blank">https://github.com/matplotlib/matplotlib/issues/12931</a>) that you may, perhaps, want to revisit?<br><br>As you may have noticed, making backwards incompatible changes to Matplotlib is a bit of an onerous process (due to the deprecation process, the baseline images problem, etc.).  Given that table.py is fairly self-contained, perhaps you may want to consider moving it to its own separate package?  i.e. something published separately on PyPI (let us know if you need any help for that), so that one would do (for example)<br><br><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">from mpltable import table<br>table(...)</blockquote><br>This way you can play with the API in whatever way you want, and we could just point to your package as the "new, more modern" way to make tables with Matplotlib, and possibly import it back to the main repo as a single PR once everything is stabilized.<br><br>Antony<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 13, 2019 at 5:01 PM <a href="mailto:swfiua@gmail.com" target="_blank">swfiua@gmail.com</a> <<a href="mailto:swfiua@gmail.com" target="_blank">swfiua@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I just wanted to provide some background on the recent flurry of fixes to table.py and the history behind the code.</div><div><br></div><div>See attached pdf.</div><div><br></div><div>There are 3 main themes to the changes:  </div><div><br></div><div>* better automatic setting of the font size</div><div>* change how horizontal padding around cell text is calculated</div><div>* add ability to specify cell edge colours</div><div><br></div><div>John</div></div>
_______________________________________________<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>
</blockquote></div>
_______________________________________________<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>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-5261622865070880694gmail_signature">Thomas Caswell<br><a href="mailto:tcaswell@gmail.com" target="_blank">tcaswell@gmail.com</a></div>
</blockquote></div></div>