<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Hi,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">I'm making a plot that's a grid of 4 x 4 axes. I'd like to remove the tick labels for the y axes that are not in the first column. I tried using what I saw in an example:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">for ax in axs.flat:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">    ax.label_outer()</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">but that seems to have no effect. I found where the code that defines that function is and tried to use that code directly:</div>for ax in axs.flat:<br>    if ax.colNum != 0:<br>        for label in ax.get_yticklabels(which='both'):<br>            label.set_visible(False)<br>        ax.get_yaxis().get_offset_text().set_visible(False)<br>        ax.set_ylabel("")<div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">but again no effect. Does anyone have any ideas why these are not working? Any help would be appreciated.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Regards,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Jon</div><br></div><div><br><div>-- <br></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><img src="https://lh6.googleusercontent.com/mJuf9zI6QC5w6HPVCinnLSkpp-RgufOfl7nw1E_aghDflNhusoRbZTuP_0x-RkECQRhIfvPxGMe6zSt6chyXZ7D5DdqtkZPp0q-TE8itKny8VWObWAiZ1aurYWDO0CtZgvJEXfzu" width="350" height="2" style="font-size:12.6667px;font-family:Arial;white-space:pre-wrap;border:none"></div><div dir="ltr">Jonathan D. Slavin</div><div dir="ltr">Astrophysicist - High Energy Astrophysics Division</div><div dir="ltr">Center for Astrophysics | Harvard & Smithsonian</div><div dir="ltr">Office: (617) 496-7981 | Cell: (781) 363-0035<br>60 Garden Street | MS 83 | Cambridge, MA 02138</div></div><div dir="ltr"><span><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh6.googleusercontent.com/mJuf9zI6QC5w6HPVCinnLSkpp-RgufOfl7nw1E_aghDflNhusoRbZTuP_0x-RkECQRhIfvPxGMe6zSt6chyXZ7D5DdqtkZPp0q-TE8itKny8VWObWAiZ1aurYWDO0CtZgvJEXfzu" width="350" height="2" style="border:none"></span><span style="font-size:9.5pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br></span></p></span></div></div></div></div></div></div></div></div></div>