<div dir="ltr">This is great.  Stoked about the new updates in 2.0!</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 7, 2016 at 3:19 PM, Michael Droettboom <span dir="ltr"><<a href="mailto:mdroettboom@continuum.io" target="_blank">mdroettboom@continuum.io</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"><div><p style="margin:0px 0px 1.2em!important">The new defaults with 2.0 is to add a fixed amount of visual padding on all sides.  The amount of padding can be controlled with <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">axes.xmargin</code> and <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">axes.ymargin</code>.</p>
<p style="margin:0px 0px 1.2em!important">Prior to 2.0, the default behavior was to move to “round numbers”, which is a lot less predictable.</p>
<p style="margin:0px 0px 1.2em!important">In either case, the algorithm used to autoscale can be replaced by replacing the locator.  See the ticker docs.</p>
<p style="margin:0px 0px 1.2em!important">Mike</p>
<div title="MDH:VGhlIG5ldyBkZWZhdWx0cyB3aXRoIDIuMCBpcyB0byBhZGQgYSBmaXhlZCBhbW91bnQgb2Ygdmlz
dWFsIHBhZGRpbmcgb24gYWxsIHNpZGVzLiDCoFRoZSBhbW91bnQgb2YgcGFkZGluZyBjYW4gYmUg
Y29udHJvbGxlZCB3aXRoIGBheGVzLnhtYXJnaW5gIGFuZCBgYXhlcy55bWFyZ2luYC48ZGl2Pjxi
cj48L2Rpdj48ZGl2PlByaW9yIHRvIDIuMCwgdGhlIGRlZmF1bHQgYmVoYXZpb3Igd2FzIHRvIG1v
dmUgdG8gInJvdW5kIG51bWJlcnMiLCB3aGljaCBpcyBhIGxvdCBsZXNzIHByZWRpY3RhYmxlLjwv
ZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+SW4gZWl0aGVyIGNhc2UsIHRoZSBhbGdvcml0aG0gdXNl
ZCB0byBhdXRvc2NhbGUgY2FuIGJlIHJlcGxhY2VkIGJ5IHJlcGxhY2luZyB0aGUgbG9jYXRvci4g
Jm5ic3A7U2VlIHRoZSB0aWNrZXIgZG9jcy48L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2Pk1pa2U8
L2Rpdj4=" style="min-height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">​</div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 6, 2016 at 3:46 PM, Isaac Gerg <span dir="ltr"><<a href="mailto:isaac.gerg@gergltd.com" target="_blank">isaac.gerg@gergltd.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">Is there any way to change the way the autoscale function from rcparams?  For my plot(x,y)'s there is too much space on the left and right of my line plots.</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 6, 2016 at 11:21 AM, Isaac Gerg <span dir="ltr"><<a href="mailto:isaac.gerg@gergltd.com" target="_blank">isaac.gerg@gergltd.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">I've started work on a test script for matplotlibrc files.<div><br></div><div>Its here: <a href="https://github.com/isaacgerg/matplotlibrc" target="_blank">https://github.com/isaacgerg/matplotlibrc</a></div><div><br></div><div>Its my plan to continue to update this along with my rc file as I go along my day.</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 6, 2016 at 10:57 AM, Isaac Gerg <span dir="ltr"><<a href="mailto:isaac.gerg@gergltd.com" target="_blank">isaac.gerg@gergltd.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">To add, I should also say you could just paste a URL and it downloads the rc file and shows the plots.  Matplotlib makes this easy!</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 6, 2016 at 10:56 AM, Isaac Gerg <span dir="ltr"><<a href="mailto:isaac.gerg@gergltd.com" target="_blank">isaac.gerg@gergltd.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">Thanks for everyone's replies.<div><br></div><div>I am still perfecting my rc file but am happy to share what I have so far.  </div><div><br></div><div><a href="https://github.com/isaacgerg/matplotlibrc" target="_blank">https://github.com/isaacgerg/matplotlibrc</a><br></div><div><br></div><div>I did a research project a few years ago on color theory and am updating my rc file based on my findings.</div><div><br></div><div>Additionally, it would be really cool to have some kind of webapp whereby a user uploads their matplotlibrc file and the server generates a set of plots based on it.  I'm happy to take a whack at it if folks want to chime in and email me some example plots to render.  I would keep it to simple plots to start.</div><div><br></div><div>I am aware of the plotornot "experiment" and also have rolled some of those features into my rc file as well (its very based off of Cam Davidson's)</div><span><font color="#888888"><div><br></div><div>Isaac</div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 6, 2016 at 8:53 AM, Michael Droettboom <span dir="ltr"><<a href="mailto:mdroettboom@continuum.io" target="_blank">mdroettboom@continuum.io</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">The omnibus PR containing most of the style changes for 2.x is here:<div><br></div><div><a href="https://github.com/matplotlib/matplotlib/pull/5774" target="_blank">https://github.com/matplotlib/matplotlib/pull/5774</a><br></div><div><br></div><div>This isn't everything -- some changes are already in 2.x and master.  Others are in separate PRs with 2.0 as a milestone.</div><div><br></div><div>The new changes are being made against 2.x and are forward-ported to master.</div><div><br></div><div>Also, to answer Isaac's original suggestion: if you have a matplotlibrc that you think would be useful for others, feel free to submit it as a style.  Since 1.4, we've had a style infrastructure that makes it easy for users to switch styles.  While the default style has to be very carefully designed so as to provide "reasonable behavior for the most common cases", individual styles do not and can be more aggressively different.</div><div><br></div><div>Mike</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Tue, Jan 5, 2016 at 10:08 PM, OceanWolf <span dir="ltr"><<a href="mailto:juichenieder-nabb@yahoo.co.uk" target="_blank">juichenieder-nabb@yahoo.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Good question... I have gotten a bit out touch with the current
    state of things so I defer to others.  As far as I know the current
    plans at the moment only include changes to the default colormap to
    viridis, but others can get changed as well. feel free to post a
    link here, or (I guess even better), make an issue/or PR (changing
    rcsetup.py) on github, so that we can take it into consideration for
    2.0.<br>
    <br>
    Looking at the state of the branches on github I have gotten a bit
    confused with the strategy... now we have 1.5 released and 2.0
    marked as a copy of 1.5.x bar rc changes, I would have assumed the
    new rc changes would end up in master and then backported to the
    v2.x branch, but that doesn't look like the case... can someone
    clarify that for me?<br>
    <br>
    Best,<br>
    OceanWolf<div><div><br>
    <br>
    <div>On 06/01/16 03:26, Isaac Gerg wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Where is the new rcparams?</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Jan 5, 2016 at 9:13 PM,
          OceanWolf <span dir="ltr"><<a href="mailto:juichenieder-nabb@yahoo.co.uk" target="_blank">juichenieder-nabb@yahoo.co.uk</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> Hi Isaac,<br>
              As it happens, yes, in the upcoming 2.0 release has the
              sole purpose of changing rcParam defaults, see <a href="http://matplotlib.org/style_changes.html" target="_blank"></a><a href="http://matplotlib.org/style_changes.html" target="_blank">http://matplotlib.org/style_changes.html</a>
              for more information.<br>
              <br>
              Best,<br>
              OceanWolf
              <div>
                <div><br>
                  <br>
                  <div>On 05/01/16 23:31, Isaac Gerg wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div>
                    <div dir="ltr">Hi,
                      <div><br>
                      </div>
                      <div>I was wondering if there are any plans to
                        change some of the defaults in matplotlibrc.  I
                        have created a matplotlibrc file that I find
                        very suitable and wondering if its worth sharing
                        here.</div>
                      <div><br>
                      </div>
                      <div>Isaac</div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
Matplotlib-devel mailing list
<a href="mailto:Matplotlib-devel@python.org" target="_blank">Matplotlib-devel@python.org</a>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-devel" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-devel</a>
</pre>
              </blockquote>
              <br>
            </div>
            <br>
            _______________________________________________<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>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<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></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div><div dir="ltr">Michael Droettboom<div>Continuum Analytics</div></div></div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Michael Droettboom<div>Continuum Analytics</div></div></div>
</div>
</div></div></blockquote></div><br></div>