Aug-30-2019, 02:28 AM
axes[0,0].spines['bottom'].set_color('black')
axes[0,1].spines['bottom'].set_color('black')
axes[1,0].spines['bottom'].set_color('black')
axes[1,1].spines['bottom'].set_color('black')
axes[0,0].spines['left'].set_color('black')
axes[0,1].spines['left'].set_color('black')
axes[1,0].spines['left'].set_color('black')
axes[1,1].spines['left'].set_color('black')
Hi, appreciate the group's assistance - i'm trying more efficiently code the above into 1 or 2 lines
Instead of calling a single axes such as [0,0] - - is it possible to select multiple at once?
Instead of a line of code for .spines['left'] and .spines['bottom'] -- is it possible to do at once?
So ideal code would be something like axes[all].spines['left' and 'bottom'].set_color('black')
Thank you very much!
axes[0,1].spines['bottom'].set_color('black')
axes[1,0].spines['bottom'].set_color('black')
axes[1,1].spines['bottom'].set_color('black')
axes[0,0].spines['left'].set_color('black')
axes[0,1].spines['left'].set_color('black')
axes[1,0].spines['left'].set_color('black')
axes[1,1].spines['left'].set_color('black')
Hi, appreciate the group's assistance - i'm trying more efficiently code the above into 1 or 2 lines
Instead of calling a single axes such as [0,0] - - is it possible to select multiple at once?
Instead of a line of code for .spines['left'] and .spines['bottom'] -- is it possible to do at once?
So ideal code would be something like axes[all].spines['left' and 'bottom'].set_color('black')
Thank you very much!