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 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.
>>

Thanks for the quick replies!  This works fine.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to