Re: [matplotlib-devel] Proposal for Broken Axes

2011-07-11 Thread Paul Ivanov
ayuffa, on 2011-07-07 13:54, wrote: > Have your changes to axes.py, namely breakx and breaky, been accepted? If > not, could you post your axes.py file. Here's an example, I'm looking into why it's not making it to the official docs right now, but you should be able to run it locally: https://g

Re: [matplotlib-devel] Proposal for Broken Axes

2011-07-11 Thread ayuffa
Have your changes to axes.py, namely breakx and breaky, been accepted? If not, could you post your axes.py file. Thanks in advance, yuffa klukas wrote: > > I have implemented breakx and breaky methods for the Axes class and > attached the diff for axes.py to this message. > > You can test out

Re: [matplotlib-devel] Proposal for Broken Axes

2010-04-16 Thread Amit Aronovitch
First of all, thanks, klukas for the useful piece of code. Jae-Joon Lee wrote: > On Mon, Mar 29, 2010 at 12:30 PM, Jeff Klukas wrote: >> # Create BrokenAxes with bottom from 0 to 5 and top from 30 to 35 >> ax = plt.broken_axes(ybounds=[0.,5.,30.,35.]) >> # Plot a line onto BOTH subaxes >> ax.plot

Re: [matplotlib-devel] Proposal for Broken Axes

2010-03-29 Thread Jae-Joon Lee
On Mon, Mar 29, 2010 at 12:30 PM, Jeff Klukas wrote: > # Create BrokenAxes with bottom from 0 to 5 and top from 30 to 35 > ax = plt.broken_axes(ybounds=[0.,5.,30.,35.]) > # Plot a line onto BOTH subaxes > ax.plot(range(35),range(35)) > > The call to plot would get routed through __getattribute__,

Re: [matplotlib-devel] Proposal for Broken Axes

2010-03-29 Thread Jeff Klukas
I haven't heard a response back about the proposal I posted for broken axes. Hopefully that just means people are busy :). If there are concerns about the method or interface, I'm certainly open to hearing them. In the meantime, I've been thinking about the interface, and I think the more corre

Re: [matplotlib-devel] Proposal for Broken Axes

2010-03-18 Thread Jeff Klukas
I have implemented breakx and breaky methods for the Axes class and attached the diff for axes.py to this message. You can test out the function with the following examples: -- import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt # Broken y fig = plt.figure(

Re: [matplotlib-devel] Proposal for Broken Axes

2010-03-16 Thread Jeff Klukas
> What would be great is if you could refactor the basic functionality > into a matplotlib.Axes.breaky method (and possibly breakx but most > people request a broken y axis), which would resize the "self" axes > and return the broken compliment which could be plotted onto.  Then > you could provide

Re: [matplotlib-devel] Proposal for Broken Axes

2010-03-16 Thread Ludwig Schwardt
Hi, > Date: Mon, 15 Mar 2010 13:16:59 -0700 (PDT) > From: klukas > > It's my understanding that there is no built-in method for generating a > "broken axis" (where you skip over some range of values, indicating this > with some graphical mark). I've fudged something similar recently, using a mor

Re: [matplotlib-devel] Proposal for Broken Axes

2010-03-15 Thread Andrew Straw
John Hunter wrote: > On Mon, Mar 15, 2010 at 3:16 PM, klukas wrote: > >> It's my understanding that there is no built-in method for generating a >> "broken axis" (where you skip over some range of values, indicating this >> with some graphical mark). I wanted to do this, so I've put together a

Re: [matplotlib-devel] Proposal for Broken Axes

2010-03-15 Thread John Hunter
On Mon, Mar 15, 2010 at 3:16 PM, klukas wrote: > > It's my understanding that there is no built-in method for generating a > "broken axis" (where you skip over some range of values, indicating this > with some graphical mark).  I wanted to do this, so I've put together a > function which seems to

[matplotlib-devel] Proposal for Broken Axes

2010-03-15 Thread klukas
It's my understanding that there is no built-in method for generating a "broken axis" (where you skip over some range of values, indicating this with some graphical mark). I wanted to do this, so I've put together a function which seems to be fairly robust, and I thought I might propose it as a s