On Mon, Mar 29, 2010 at 12:30 PM, Jeff Klukas <klu...@wisc.edu> 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__, which > would then call plot for each of the subaxes. This would be much more > intuitive than my existing breaky solution, where you have to loop > over all subaxes and plot on each individually. >
How do you want to handle l1, = ax.plot(range(35), range(35)) l1.set_color("r") then? I think keeping two (or more) separate artists for each axes while an user think there is only one artist (because only one axes is exposed to the user) is not a good idea. Regards, -JJ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel