Re: [Matplotlib-users] synchronize magnification of subplots?

2015-02-03 Thread Neal Becker
Paul Hobson wrote: I only have the notebook to mes around in, but the following works for me: %matplotlib nbagg import matplotlib.pyplot as plt fig, ax = plt.subplots(nrows=2, sharex=True, sharey=True) On Tue Feb 03 2015 at 4:07:26 PM Neal Becker ndbeck...@gmail.com wrote: I have 2

[Matplotlib-users] synchronize magnification of subplots?

2015-02-03 Thread Neal Becker
I have 2 subplots, 2 rows 1 col. They have the same x-axis. I'd like to be able to zoom in on both plots together. Using qt4agg, there is a zoom icon, but it seems to operated on each subplot separately. -- -- Those who don't understand recursion are doomed to repeat it

Re: [Matplotlib-users] synchronize magnification of subplots?

2015-02-03 Thread Paul Hobson
I only have the notebook to mes around in, but the following works for me: %matplotlib nbagg import matplotlib.pyplot as plt fig, ax = plt.subplots(nrows=2, sharex=True, sharey=True) On Tue Feb 03 2015 at 4:07:26 PM Neal Becker ndbeck...@gmail.com wrote: I have 2 subplots, 2 rows 1 col. They

Re: [Matplotlib-users] synchronize magnification of subplots?

2015-02-03 Thread Marcel Milcent
You can also use ( http://matplotlib.org/examples/pylab_examples/shared_axis_demo.html): ax2 = subplot(212, sharex=ax1) Em Tue Feb 03 2015 at 22:13:44, Paul Hobson pmhob...@gmail.com escreveu: I only have the notebook to mes around in, but the following works for me: %matplotlib nbagg