<div dir="ltr">There are callbacks that fire when the limits are changed. See<div><br></div><div><a href="https://matplotlib.org/examples/event_handling/viewlims.html">https://matplotlib.org/examples/event_handling/viewlims.html</a> <br></div><div><br></div><div>for an example.</div><div><br></div><div>This is probably the best route to go down as you can do other interesting things as the event goes by (like triggering computation, updating a openGL view window, etc) as well as updating the Matplotlib limits.</div><div><br></div><div>Tom</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, May 15, 2017 at 3:29 AM Juan Nunez-Iglesias <<a href="mailto:jni.soma@gmail.com">jni.soma@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div name="messageBodySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">Hello,
<div><br></div>
<div>I’m trying to build an orthogonal-views volume viewer in Matplotlib like this one:</div>
<div><a href="https://imagej.nih.gov/ij/docs/guide/images/OrthogonalViews.png" target="_blank">https://imagej.nih.gov/ij/docs/guide/images/OrthogonalViews.png</a><br></div>
<div><br></div>
<div>For this to work, I need to share the y-axis of the YZ (right) view/subplot with the x-axis of the XZ (bottom) view/subplot. Is this possible?</div>
<div><br></div>
<div>Juan.</div>
</div>
<div name="messageReplySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif"><br></div>
</div>
_______________________________________________<br>
Matplotlib-users mailing list<br>
<a href="mailto:Matplotlib-users@python.org" target="_blank">Matplotlib-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-users</a><br>
</blockquote></div>