On 2014/05/07 2:12 PM, Yuxiang Wang wrote: > Dear all, > > I was wondering that, is there a method like axes.set_sharex(ax0) so I > can directly set the sharex and sharey properties of an axes object? > It seems that the only way to do this is at time of creation via > fig.add_subplots(1, 2, 2, sharex=ax0). If I have already created the > axes using the plt.subplots() method, this wouldn't work. > > Could anyone please help make sure that I am understanding this > question correctly? >
This is correct. If you use plt.subplots with sharex and/or sharey, the sharing applies to all subplots. Eric > Thank you! > > Shawn ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users