spline "smart bounds"

Hi all,

First: I noticed in the changelog to 1.0 that a lot of work has gone into splines. Thanks!

In particular, I notice commit message "splines and ticks: implement smart bounds" from 20 Dec 2009 (commit 58d31c10eef8648cd0fb81d5c0f0bcd0c05fe9a1 in astraw's github repository, labeled as git-svn-id: https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib@...3238… f61c4167-ca0d-0410-bb4a-bb21726e55ed).

What are "smart bounds"? It looks desirable to do, but it defaults to off, I think.

Thanks,

Jason

For clarification: this change is related to "spines" not "splines". Spines are the feature that allows the axes ticks to be plotted somewhere in the middle of the plot, rather than always at the edges. See here:

http://matplotlib.sourceforge.net/examples/pylab_examples/spine_placement_demo.html?highlight=spine%20codex

Splines would refer to Bezier curves. See here:

http://matplotlib.sourceforge.net/examples/pylab_examples/dolphin.html?highlight=dolphin%20codex

Which feature are you interested in?

That said, I'm not sure what the spine smart bounds work is about, but I suspect Andrew Straw does.

Mike

···

On 08/14/2010 11:22 AM, Jason Grout wrote:

Hi all,

First: I noticed in the changelog to 1.0 that a lot of work has gone
into splines. Thanks!

In particular, I notice commit message "splines and ticks: implement
smart bounds" from 20 Dec 2009 (commit
58d31c10eef8648cd0fb81d5c0f0bcd0c05fe9a1 in astraw's github repository,
labeled as git-svn-id:
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib@...3238
f61c4167-ca0d-0410-bb4a-bb21726e55ed).

What are "smart bounds"? It looks desirable to do, but it defaults to
off, I think.

Thanks,

Jason

------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
   
--
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA

Sorry, I mistyped that: I meant "spines".

We use spines to do the axes in Sage, and in updating the matplotlib package, I was wondering if we could take advantage of the "smart bound" feature. It certainly sounded interesting.

Thanks,

Jason

···

On 8/16/10 5:36 AM, Michael Droettboom wrote:

For clarification: this change is related to "spines" not "splines".
Spines are the feature that allows the axes ticks to be plotted
somewhere in the middle of the plot, rather than always at the edges.
See here:

http://matplotlib.sourceforge.net/examples/pylab_examples/spine_placement_demo.html?highlight=spine%20codex

Splines would refer to Bezier curves. See here:

http://matplotlib.sourceforge.net/examples/pylab_examples/dolphin.html?highlight=dolphin%20codex

Which feature are you interested in?

That said, I'm not sure what the spine smart bounds work is about, but I
suspect Andrew Straw does.

--
Jason Grout